簡體   English   中英

將 alertmanager 添加到 istio prometheus

[英]add alertmanager to istio prometheus

如何將 alertmanager 添加到官方 helm chart 部署的 istio prometheus?

https://istio.io/docs/setup/install/helm/

helm upgrade istio install/kubernetes/helm/istio --namespace istio-system --tiller-namespace istio-system \
--set tracing.enabled=true \
--set tracing.ingress.enabled=true \
--set grafana.enabled=true \
--set kiali.enabled=true \
--set "kiali.dashboard.jaegerURL=http://jaeger-query.kaws.skynet.com/jaeger" \
--set "kiali.dashboard.grafanaURL=http://grafana.kaws.skynet.com" \
--set "kiali.prometheusAddr=http://prometheus.kaws.skynet.com"

是否可以將 alertmanager 添加到 istio 設置中?

是否可以將 alertmanager 添加到 istio 設置中?

對的,這是可能的。

正如我在github上看到的那樣

通常 Istio 不會嘗試管理生產級 Prometheus、grafana 等部署。 我們正在做一些工作,以使您可以輕松地將 istio 與您自己的 Prometheus、kiali 等集成。請參閱https://github.com/istio/installer/tree/master/istio-telemetry/prometheus-operator作為一種方法與 Prometheus 算子集成。 您可以定義自己的 Prometheus 設置,然后只需添加配置即可抓取 istio 組件。

您將不得不像那里一樣更改 prometheus 值和模板,添加 alertmanager yamls,然后將其配置為在 istio 命名空間上工作。

如何將 alertmanager 添加到官方 helm chart 部署的 istio prometheus?

我建議使用

helm fetch istio.io/istio --untar

其中下載一個圖表到你的本地目錄中查看。

然后添加 alertmanager,並從本地目錄而不是 helm 存儲庫安裝 istio helm chart。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM