Note: This article only applies to changing Helm values on a Kommander management cluster. For managed/attached clusters, please see this article:
In some cases it may be necessary to edit the default resource values for some of Kommander's appdeployments on an already-running Management cluster.
To do this, you can edit the install.yaml file that was generated when Kommander was first configured:
dkp install kommander --init > kommander.yaml
To change the values of appdeployments, you can insert values from each individual Helm chart. You will need to find the section that corresponds to each appdeployment and add the edits there.
For instance, here is some example syntax for a few appdeployments and how to configure their memory limits:
apps:
kubetunnel:
enabled: true
values: |
controller:
manager:
resources:
limits:
memory: 300Mi
logging-operator:
enabled: true
values: |
resources:
limits:
memory: 1024Mi
prometheus-adapter:
enabled: true
values: |
resources:
limits:
memory: 4000Mi
After you've made your changes to install.yaml, you can apply them on your running cluster with:
./dkp install kommander --installer-config /path/to/install.yaml
This will result in the appdeployments that were changed being re-deployed with the new changes applied.
Please be aware that there are risks to applying untested changes in production. We strongly recommend that you test any changes in a test environment before pushing to production.