gpt4 book ai didi

kubernetes - 如何编辑 Helm chart 的配置?

转载 作者:行者123 更新时间:2023-12-04 01:50:11 24 4
gpt4 key购买 nike

嗨,大家好,

我已经部署了一个基于kubeadm的Kubernetes集群,并且为了基于Custom Metrics执行Horizo​​ntalPodAutoscaling,我已经通过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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com