简体   繁体   English

将 alertmanager 添加到 istio prometheus

[英]add alertmanager to istio prometheus

How can I add alertmanager to istio prometheus deployed by official helm chart?如何将 alertmanager 添加到官方 helm chart 部署的 istio prometheus?

https://istio.io/docs/setup/install/helm/ 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"

Is it possible to add alertmanager to istio setup?是否可以将 alertmanager 添加到 istio 设置中?

Is it possible to add alertmanager to istio setup?是否可以将 alertmanager 添加到 istio 设置中?

Yes, it is possible.对的,这是可能的。

As i could read on github正如我在github上看到的那样

Generally Istio is not trying to manage production grade Prometheus, grafana, etc deployments.通常 Istio 不会尝试管理生产级 Prometheus、grafana 等部署。 We are doing some work to make it easy to integrate istio with your own Prometheus, kiali, etc. See https://github.com/istio/installer/tree/master/istio-telemetry/prometheus-operator as one way you can integrate with the Prometheus operator.我们正在做一些工作,以使您可以轻松地将 istio 与您自己的 Prometheus、kiali 等集成。请参阅https://github.com/istio/installer/tree/master/istio-telemetry/prometheus-operator作为一种方法与 Prometheus 算子集成。 You can define your own Prometheus setup then just add the configs to scrape istio components.您可以定义自己的 Prometheus 设置,然后只需添加配置即可抓取 istio 组件。

You will have to change prometheus values and templates like there , add alertmanager yamls, and then configure it to work on istio namespace.您将不得不像那里一样更改 prometheus 值和模板,添加 alertmanager yamls,然后将其配置为在 istio 命名空间上工作。

How can I add alertmanager to istio prometheus deployed by official helm chart?如何将 alertmanager 添加到官方 helm chart 部署的 istio prometheus?

I would recommend to use我建议使用

helm fetch istio.io/istio --untar

Which Download a chart to your local directory to view.其中下载一个图表到你的本地目录中查看。

Then add alertmanager, and install istio helm chart from your local directory instead of helm repository.然后添加 alertmanager,并从本地目录而不是 helm 存储库安装 istio helm chart。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM