This is a draft document that was built and uploaded automatically. It may document beta software and be incomplete or even incorrect. Use this document at your own risk.
After the initial deployment of Cloud Application Platform, any changes made to your Helm chart
values, whether through your kubecf-config-values.yaml file
or directly using Helm's --set flag, are applied using
the helm upgrade command.
The helm upgrade command can be used to apply
configuration changes as well as perform version upgrades to Cloud Application Platform. A change
to the pod count configuration should not be applied simultaneously with a
version upgrade. Sizing changes should be made separately, either before or
after, from a version upgrade.
Consider an example where you want to enable the App-AutoScaler.
The entry below is added to your kubecf-config-values.yaml file and set with
enabled set to true.
features:
autoscaler:
enabled: true
The changed is then applied with the helm upgrade command. This
example assumes the suse/kubecf Helm chart deployed was
named kubecf.
tux > helm upgrade kubecf suse/kubecf \
--namespace kubecf \
--values kubecf-config-values.yaml \
--version 2.7.13
When all pods are in a READY state, the configuration
change will also be reflected. Assuming the chart was deployed to the
kubecf namespace, progress can be monitored with:
tux > watch --color 'kubectl get pods --namespace kubecf'
The following are other examples of using helm upgrade to
make configuration changes:
Secrets rotation (see Chapter 20, Rotating Automatically Generated Secrets)
Enabling additional services (see Section 23.2, “Enabling and Disabling the App-AutoScaler Service”)