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

标签 kubernetes prometheus metrics kubernetes-helm autoscaling

嗨,大家好,

我已经部署了一个基于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/

相关文章:

java - OpenShift:在 java 运行时更改 ConfigMap

kubernetes - 谷歌云平台 (GCP) : mounting multiple volumes kubernetes

prometheus - 从 Prometheus 中删除指标会产生错误 : not implemented

scikit-learn - 如何计算F1分数进行多标签分类?

kubernetes - 如何将jar文件挂载到tomcat容器

kubernetes - 如何在不对 minion IP 进行硬编码的情况下将 kubernetes 服务公开?

Prometheus:可以给 storage.tsdb.retention.time 标志的最小值是多少

go - Prometheus 警报管理器模板更改

apache-kafka - 应该使用哪个 jmx 指标来监视 kafka connect 中连接器的状态?

java - 如何向 Spring Boot 添加更多指标?