[Jenkins] Scripted Pipeline lesson 11: Options _ SkipStagesAfterUnstable
Bài chỉ đơn giản là chúng khai báo status và stop stage nếu status vi phạm
Trình bày các công nghệ CLOUD một cách dễ hiểu.
overrideIndexTriggers. Bài này thì chúng ta tìm hiểu về Trigger giữa jenkins và gitCHúng ta có thể disable trigger của 1 branch nào đó. https://github.com/mrnim94/scripted-overrideIndexTriggers.gitMình cung cấp link github trên các bạn cần tạo job Multibranch Pipeline như ảnh bên dưới: sau khi save thì jenkins thực hiện scan git Ở đây overrideIndexTriggers(true). step 2:…
Read More “[Jenkins] Scripted Pipeline lesson 10: Options _ OverrideIndexTriggers” »
Thường với 1 job thì chúng chỉ cho 1 build được chạy và khi nào build đó chạy xong thì chạy build tiếp theo.Nhất là khi mà jenkins trigger build từ git, mà dev push code ầm ầm. Thì đây là 1 tính năng hữu ích.
1) Introduction VictoriaMetrics is a fast, cost-effective and scalable time series database. It can be used as a long-term remote storage for Prometheus. It is recommended using single-node version instead of cluster version for ingestion rates lower than a million of data points per second. Mình sẽ hợp với VictoriaMetrics với mô hình mutil Prometheus hoặc…
Case chúng ta là ntn. Tôi nhận metrics từ 1 Recording Rules và source_labels:[__name__] như ảnh. Tôi muốn chuyển nó từ federate:istio_request_duration_milliseconds_bucket:rate1mthành như sau: istio_request_duration_milliseconds_bucket Câu hỏi làm sao bạn để ý dòng regex: ‘federate:(.*):rate1m’ trong đoạn code bên dưới. Nếu bạn ko metric_relabel_configs thì bạn phải query như sau:federate:istio_request_duration_milliseconds_bucket:rate1m
Note lần này sẽ giúp chúng ta tìm hiểu về:– Recording Rules trong prometheus.– Giảm metrics của istio. Từ đó giảm ram của prometheus. Liệu việc giảm ram của prometheus bằng các giảm metrics thì có thực sự hiệu quả? https://karlstoney.com/2020/02/25/federated-prometheus-to-reduce-metric-cardinality/ Giờ chúng ta sẽ đi tìm hiều Recording Rules trong 1 ví dụ thực…
Khi bạn cài đặt istio ở những version gần đây thì operator của istio ko con tích hợp luôn: grafana, kiali, prometheus,… Mà họ đã tách riêng thành các manifest riêng. https://github.com/istio/istio/tree/master/samples/addons Với istio thì họ có 2 option:Option 1: Quick startOption 2: Customizable install Dưới đây là các metric mà scrape: To gather metrics…
Read More “[Grafana/Prometheus/Istio] How does prometheus get istio metrics?” »
Hello sau rất nhiều bài note của mình về istio. Mình nghĩ là chúng ta đã đầy đủ n ăng lực để quản trị hệ thông istio rùi ý.Chúng ta tìm hiểu về việc các đặt các công củ để monitor hệ thống istio và đặc biệt là hệ thống multi-cluster của istio. Istio đã…
Read More “[Prometheus/Kiali] Setting Prometheus or Kiali for multi-cluster Istio mode.” »
Mình chắc hẳn nhiều công ty đang chạy k8s thì các applications or workload được public ra thông qua:– ingress-nginx.– Kong-gateway.– NodePort luôn. Chúng ta sẽ migrate từ từ các workload sang istio. Phase 1: inject Istio for all workload.vậy lúc này ingress-nginx workload với istio-proxy. Lúc này bạn cảm thấy có 1 số workload…