![](/img/trans.png)
[英]Set MicrosoftTeams notification on Prometheus Alertmanager
[英]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.