嗨,大家好,
我已经部署了一个基于kubeadm的Kubernetes集群,并且为了基于Custom Metrics执行HorizontalPodAutoscaling,我已经通过Helm部署了prometheus-adpater。
现在,我想编辑prometheus-adpater的配置,并且由于我不熟悉Helm,所以我不知道该怎么做。那么,您能指导我如何编辑已部署的 Helm 图表吗?
最佳答案
您正在尝试自定义已安装的图表。请使用本指南Customizing the Chart Before Installing。
关键部分:
There are two ways to pass configuration data during install:
--values
(or-f
): Specify a YAML file with overrides. This can be specified multiple times and the rightmost file will take precedence--set name=value
: Specify overrides on the command line
关于kubernetes - 如何编辑 Helm chart 的配置?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58256871/