Search code examples
kubernetesprometheusmetricskubernetes-helmautoscaling

How to edit the Configurations of a Helm Chart?


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?


Solution

  • You're trying to customize an installed chart. Please use this guide Customizing the Chart Before Installing.

    The key parts:

    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