Upgrading an OpenShift installation using Helm charts
You can upgrade an OpenShift installation using Helm charts.
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.
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.
-
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 OpenShift cluster to get the list of all Statefulset. -
Run
kubectl delete Statefulset accelerate-rabbitmqto 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 release. Theupgradecommand requires argument that identifies the installed Helm release to upgrade as well as achartargument that identifies the Helm chart to use when upgrading the release. For example:
For information about the Helmhelm upgrade velocity ./accelerate-<version\>-helm.tgzupgradeutility, see the Helm documentation .