[Prometheus] Relabelling – Đưa thông tin từ Discovered Label sang target label
Vào việc luôn ha. Một ngày đẹp trời thực hiện 1 câu query trên prometheus và bạn cảm thấy thiếu thiều j đó.Bạn đi lục lọi khắc nơi trong prometheus. Tiếp theo bạn cần di sang Discovery vào file config prometheus.yaml source_labels: [__scheme__] lâý key bên discovery regex: ‘(.*)’ cái này để lọc value nào…
Read More “[Prometheus] Relabelling – Đưa thông tin từ Discovered Label sang target label” »
[Istio] Security authentication và authorization with ISTIO
Như ở 1 bài viết mình đã có nhắc đến authentication và authorization cũng với test một vài feature istio trong bài viết bên dưới: Nếu bạn đang tò mò security của istio có j, thì chúng ta sẽ đi chi tiết. Security links: https://istio.io/latest/docs/reference/config/security/ 1) Authorization Policy Configuration for access control on workloads. The…
Read More “[Istio] Security authentication và authorization with ISTIO” »
[Udemy] Download khóa học Udemy giá rẻ chỉ với 50k/khóa
CAM KẾT: Đầy đủ Video + Sub.srt Nhận khóa học qua Google Drive 1) Download tất cả khoá học trên udemy Bước 1: Bạn tìm khoá học trên trang udemyBước 2: Command links khoá học và để lại gmailBước 3: Chuyển khoản 50K vào tài khoản momo với link bên dướihttps://nhantien.momo.vn/nimtechnology Hoặc quét QR MOMO…
Read More “[Udemy] Download khóa học Udemy giá rẻ chỉ với 50k/khóa” »
[VMware ESXI] Làm sao để Máy ảo trên vmware vừa add card rời(GTX) – vừa enable Virtualization Ảo Hoá
Hi Chỉ có các anh vmware mới chiều được chúng ta, VM windows phải có 3 thứ:– Boot UEFI– Card rời VGA – GTX– Virtualization (VT) Để làm được việc này thì cài 1 con VM windows với UEFI (cái này dễ). Sau khi setup và cài windows các kiểu thì bạn tắt VM đi…
[Grafana] Hướng dấn tạo Menu Dropdown trên Grafana
Có thể về sau bạn gắn revision cho istio, rồi bạn custom các kiểu và tạo ra con ingress gateway với cái tên khác “istio-ingressgateway-1-9-8“ Chúng ta cần tạo menu drop down để chọn. GIờ ấn update thử
[Istio] Analyzing Istio Performance by pprof
Bỗng dưng 1 hôm bạn nhận được request rằng đám istiod nó Peak CPU kinh vậy Tiền đâu thì links tham khảo:https://github.com/istio/istio/issues/23031https://github.com/istio/istio/wiki/Analyzing-Istio-Performancehttps://jvns.ca/blog/2017/09/24/profiling-go-with-pprof/ Để có thể Analyzing Istio Performance thì chúng ta cần tool là pprof và kubectl trên máy tính và browser.Mình thích chạy trên windows vì: – thứ nhất là mình hay làm việc…
[letsencrypt] DST Root CA X3 Expiration (September 2021)
Bỗng 1 ngày đẹp trời đang build docker. Thì thấy dòng này thật là khó hiểu: The repository ‘https://deb.nodesource.com/node_8.x bionic Release’ does not have a Release file. Lục lọi các link: https://askubuntu.com/questions/1095266/apt-get-update-failed-because-certificate-verification-failed-because-handshake Links Đại ca chỉ: https://docs.certifytheweb.com/docs/kb/kb-202109-letsencrypt/ From Sept 30th 2021 Let’s Encrypts previous root certificate DST Root CA X3 (and it’s R3 intermediate) will…
Read More “[letsencrypt] DST Root CA X3 Expiration (September 2021)” »
[Upgrade Canary Istio Cluster] Do you want to upgrade the new version for Your Multi-Cluster Isito? Welcome to Nimtechnology. Very easy!!! That right.
Isito version 1.10.4 mình cài multi cluster nhưng chả lỗi j mà cũng chả chạy Cross-Cluster Traffic. Nếu anh em chạy multi cluster trên version 1.10.4 cần chú ý check kĩ nhé. Ở con console đảm bảo là đã kết nối đến cả 2 cluster Trên cluster 1 tạo ns và thêm network cho label…
[note – link] Note các links về tài liệu hay
Auto ssh https://www.linuxhelp.com/how-to-install-autossh-on-ubuntu-16-04 Java-script delete event listener jquery–> cần dò tự khoá Jenkins google authenhttps://www.udemy.com/course/aws-certified-solutions-architect-associate-saa-c02/jenkinsfile form remotehttps://plugins.jenkins.io/remote-file/ https://www.jenkins.io/doc/pipeline/steps/htmlpublisher/public html trên jenkin ===> mình cần coi lạiset credential cho từng jobChúng ta cần sử dụng Multibranch Pipelinehttps://scriptcrunch.com/groovy-script-retrieve-jenkins-credentials/#:~:text=To%20retrieve%20Jenkins%20credentials%2C%20you,list%20all%20the%20Jenkins%20credentials.&text=You%20can%20test%20this%20script%20using%20the%20Jenkins%20script%20console. Kubernetes Storage Kubernetes Storage — Part 1 — NFS complete tutorialhttps://itnext.io/kubernetes-storage-part-1-nfs-complete-tutorial-75e6ac2a1f77 Golang log trong golang:https://developpaper.com/using-zap-log-library-in-go-language-project-translation/ Groovy forech: https://riptutorial.com/groovy/example/32092/each-and-eachwithindex What…