使用Prometheus舵图部署Prometheus时在ConfigMap上的概念

时间:2020-07-28 20:03:28

标签: prometheus kubernetes-helm

我已使用稳定/普罗米修斯舵图(https://github.com/helm/charts/tree/master/stable/prometheus)配置Prometheus作为具有2个副本的有状态集。安装后,它将创建2个容器-分别为prometheus-server-0和prometheus-server-1。这两个Pod仅引用由模板https://github.com/helm/charts/blob/master/stable/prometheus/templates/configmaps/server.yaml

生成的单个configmap。

是否有一种方法可以为每个Pod提供单独的配置映射?有人可以为此提供一种方法吗?

谢谢

0 个答案:

没有答案