How to edit the Configurations of a Helm Chart?

zain ali picture zain ali · Oct 6, 2019 · Viewed 7.3k times · Source

Hi everyone,

I have deployed a Kubernetes cluster based on kubeadm and for the purpose of performing HorizontalPodAutoscaling based on the Custom Metrics, I have deployed prometheus-adpater through Helm.

Now, i want to edit the configuration for prometheus-adpater and because i am new to Helm, i don't know how to do this. So could you guid me how to edit the deployed helm charts?

Answer

Jakub picture Jakub · Oct 6, 2019

I guess helm upgrade is that are you looking for.

This command upgrades a release to a specified version of a chart and/or updates chart values.

So if you have deployed prometheus-adapter, you can use command helm fetch

Download a chart from a repository and (optionally) unpack it in local directory

You will have all yamls, you can edit them and upgrade your current deployed chart via helm upgrade

I found an example, which should explain it to you more precisely.