Upgrading Kubernetes-based installations
Upgrade your Kubernetes installation.
Before you begin
- Velocity
installation properties are stored in the
/home/.ucv/settings.jsonfile on the computer where you installed the product. If the user that is upgrading the product is not the user who installed it, ensure that thesettings.jsonfile is copied to the upgrading user's/home/.ucvdirectory before upgrading. - If you are upgrading Velocity, you must
update the bitnami images repository location in the templates after generating
helm charts by using the online installation file. Unzip the
tarfile and change the value for the accImageName tag in the following files under the templates directory:File Action accelerate-rabbitmq-statefulset.yaml Change bitnami/rabbitmqtobitnamilegacy/rabbitmqin spec/template/spec/containers/imageaccelerate-router-deployment.yaml Change bitnami/nginxtobitnamilegacy/nginxin spec/template/spec/containers/imageaccelerate-initial-admin-password-generator.yaml Change bitnami/kubectltobitnamilegacy/kubectlin spec/template/spec/containers/imageaccelerate-jwt-key-generator.yaml Change bitnami/kubectltobitnamilegacy/kubectlin spec/template/spec/containers/image
About this task
When you run the installer, it checks for an existing installation. If the installer finds a previous version, it uses installed properties, such as your product access key, and assumes that you are upgrading the product.
Procedure
-
Download the installation file for your environment and access key to authorize
the configuration and installation. You can download the installation file by
using anyone of the following options,
- My HCLSoftware portal
Visit My HCLSoftware portal, navigate to the Velocity product and select the required version. Download Velocity installer for your local environment and access key.
- Free trial edition
Complete the form and click Get HCL DevOps Velocity Today. After few minutes, you will receive an email containing download links and an access key for free trial edition.
Note: Velocity does not perform malware scanning on the installed files. It is recommended that end users implement malware scanning as appropriate for their environment before installing and running the Velocity in their environment. - My HCLSoftware portal
- Run the downloaded executable file.
-
Complete installation by responding to the prompts described in the following
steps.
When the script starts, you are prompted to accept the license. You can explicitly accept the license without viewing it by appending the following parameter to the command:
./<velocity-installation-file> --license=accept -
Run
kubectl get Statefulsetin the Kubernetes cluster to get the list of all Statefulset. -
Run
kubectl delete Statefulset accelerate-rabbitmqin the Kubernetes cluster to delete the Statefulset for RabbitMQ. TheStatefulsetdeletion is required for upgrading the Velocity installation. -
In the directory where your Helm chart is located, run the Helm
upgradeutility to generate a Helm chart. Theupgradecommand requires achartargument that identifies your installed Helm chart. For example:helm upgrade velocity accelerate-hcl-<version>-helm.tgzFor information about the Helmupgradeutility, see the Helm documentation https://helm.sh/docs/helm/helm_upgrade/.