Upgrading IBM Control Center with Helm chart
After you have installed helm chart successfully, you can upgrade your control center helm chart
with either new docker image or new helm chart bundle. Follow these steps to upgrade helm chart:
- Download latest version of control center helm chart bundle from IBM control center repository. For ex. ibm-scc-1.0.1.tgz.
- Create values.yaml with all new configuration which you want to upgrade like new docker image.
- For new docker image upgrade, first download the docker image from IBM Control Center repository
and add it to the repository using following
command:
docker load -i ibmscc_6.2.tar docker tag <image-name>:<tag> <repository-url>/<image-name>:<tag> docker push <repository-url>/<image-name>:<tag>
Example: Suppose your registry is running on server 111.22.333.444 at port 5000, then following commands will be executed:docker tag ibmscc:62 111.22.333.444:5000/ibmscc:62 docker push 111.22.333.444:5000/ibmscc:62
- Invoke the docker images command to verify if the image is loaded successfully.
- This step required for multi EP environment skip for single EP.
Scale down replica:Change as below values.yaml
replicaCount: 1 autoscaling: enabled: true minReplicas: 1 maxReplicas: 1
$ helm upgrade <Release Name> -f values.yaml -n <Kubernetes Namespace> ./ibm-scc-1.0.1.tgz --reuse-values
Once 6th step is completed, scale up:
Scale up replica:
Change as below in values.yaml
replicaCount: 2 autoscaling: enabled: true minReplicas: 1 maxReplicas: 2
$ helm upgrade <Release Name> -f values.yaml -n <Kubernetes Namespace> ./ibm-scc-1.0.1.tgz --reuse-values
- Upgrade your control center helm chart with following
command:
$ helm upgrade <Release Name> -f values.yaml -n <Kubernetes Namespace> ./ibm-scc-1.0.1.tgz --reuse-values
Example:$ helm upgrade test -f values.yaml -n control-center ./ibm-scc-1.0.1.tgz --reuse-values