【问题标题】:add alertmanager to istio prometheus将 alertmanager 添加到 istio prometheus
【发布时间】:2020-02-24 21:21:09
【问题描述】:

如何在官方 helm chart 部署的 istio prometheus 中添加 alertmanager?

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"

是否可以在 istio 设置中添加 alertmanager?

【问题讨论】:

    标签: kubernetes istio prometheus-alertmanager


    【解决方案1】:

    是否可以在 istio 设置中添加 alertmanager?

    是的,有可能。

    正如我在github 上看到的那样

    通常 Istio 不会尝试管理生产级 Prometheus、grafana 等部署。我们正在做一些工作,以使您可以轻松地将 istio 与您自己的 Prometheus、kiali 等集成。请参阅 https://github.com/istio/installer/tree/master/istio-telemetry/prometheus-operator 作为与 Prometheus 运算符集成的一种方式。您可以定义自己的 Prometheus 设置,然后只需添加配置即可抓取 istio 组件。

    您必须将 prometheus values and templates 更改为 there,添加 alertmanager yamls,然后将其配置为在 istio 命名空间上工作。

    如何在官方 helm chart 部署的 istio prometheus 中添加 alertmanager?

    我会推荐使用

    helm fetch istio.io/istio --untar
    

    其中下载图表到本地目录查看。

    然后添加 alertmanager,并从本地目录而不是 helm 存储库安装 istio helm chart。

    【讨论】:

    • 提前致谢。
    猜你喜欢
    • 1970-01-01
    • 2021-07-13
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-01-16
    • 1970-01-01
    • 2021-01-15
    • 2020-08-26
    相关资源
    最近更新 更多