Upgrading on Kubernetes
The Sametime upgrade packages contain full helm charts.
When upgrading, the recorder workloads are assigned to the main worker nodes. Ensure that the existing main worker nodes have enough capacity to handle the workloads.
Because the upgrade package includes full helm charts to implemented, you must port your settings from the current values.yaml into the new values.yaml file. Do not restore the values.yaml file from a backup file which might contain deprecated settings.
-
Download and extract the Sametime fix pack zip files into a directory on either the master Kubernetes host or on a machine which has management access to the Kubernetes cluster.
-
Run the following command to load the fix pack Docker image to the Docker repository.
./load.sh
If your image repository requires a secret, define in the secret name on the hclImagePullSecret setting in the values.yaml file.
-
Edit the values.yaml file as needed.
-
Run the following script to update the current configuration to values.yaml file as needed. You are prompted for any missing information.
./prepareDeployment.sh
-
When prompted to confirm the upgrade, answer Y to proceed with the current settings. If your response is No, you are prompted for necessary information.
-
If the community LDAP settings are overridden in your deployment using an extra-community-config secret, there are changes to these files that need to be included as a part of the upgrade.
-
Delete the secret by running the following command:
kubectl delete secret extra-community-config
-
Comment out the following line in the values.yaml file using the comment (#) character.
# overrideCommunityConfigSecret: extra-community-config
When the upgrade is finished, pull new copies of StCommunityConfig.xml and UserInfoConfig.xml files. Modify the files to include your custom settings. Create the extra-community-config secret again with your changes.
-
-
If you have enabled telephony, copy the secrets from the old helm charts to the new ones.
-
Copy the existing setting
application-registry.json
from /helm/templates/auth-config-secrets.yaml into your new /helm/templates/auth-config-secrets.yaml file. -
Copy the existing JigasiSipUri and JigasiSipPassword settings from the/helm/templates/sametime-secrets.yaml file to the new /helm/templates/sametime-secrets.yaml file.
-
-
Apply your changes to the environment.
Verify that you are in the helm directory and run the following command to apply changes. Specify the Sametime deployment name for your environment. The default for Sametime Premium version 12 is sametime.
helm upgrade sametime\_deployment\_name .
Note: Be sure to include the dot at the end. It is part of the command.
If you are unsure of your deployment name, issue the helm list command to find the name. If you upgraded from an earlier Sametime release, the default name is sametime-meetings.
Upgrade considerations for telephony
The prepareDeployment.sh script does not update the values.yaml file for telephony-related settings and does not update the settings from the existing secrets. For more information, refer to Preparing the deployment.
Parent topic: Upgrading to a new version or applying a fixpack