Upgrading remote workers in a connected environment
If your remote worker’s current version is 1.1.4, you upgrade on connected Kubernetes clusters by running a script that downloads images from IBM® Container Registry and upgrades the application.
Note:
- You must have cluster administration permissions to perform the upgrade.
- This information describes how to upgrade a remote worker from version 1.1.4. For information about how to upgrade remote workers from 1.1.3 or earlier versions, see Upgrading remote workers from 1.1.3 or earlier versions.
Procedure
- On the remote host, verify that the remote worker pods are running successfully by running this
command:
Ensure that all pods are ready and are in a status ofkubectl get pods -n rna-rw
Running
orCompleted
. - Download the IBM Rapid Infrastructure
Automation® package
from the public GitHub repository for the version that you want to upgrade your remote worker to.
For example, if you want to upgrade it to 1.1.5, run this
command:
wget https://github.com/IBM/cloud-pak/raw/refs/heads/master/repo/case/ibm-rapid-infrastructure-automation/1.1.5/ibm-rapid-infrastructure-automation-1.1.5.tgz
- Extract the package contents by running this
command:
tar xfz ibm-rapid-infrastructure-automation-1.1.5.tgz
- Add the IBM Helm repository to your local Helm installation by running this command:
helm repo add ibm-helm https://raw.githubusercontent.com/IBM/charts/master/repo/ibm-helm
This repository contains the required Helm charts that the upgrade script uses to deploy the application pods, services, and volumes on the cluster. If the following message is shown, the repository is successfully added:
"ibm-helm" has been added to your repositories
- Set an environment variable to the value of your IBM entitlement key by running this command:
export IBM_REG_PASS=<entitlement-key>
Replace <entitlement-key> with your entitlement key.
- Go to the folder that contains the upgrade script by running this
command:
cd ibm-rapid-infrastructure-automation/inventory/ria/files/
- Upgrade the remote worker on the cluster and accept the license by running this
command:
./install_rw.sh --license-acceptance=y --server-hostname=<IP_address_or_domain> --worker-group-name=<group_name> --worker-group-secret-key=<group_secret>
Note: If you want to use the Chromium integration in your workflows, include the--optional-addons=addon-puppeteer
option when you run the install_rw.sh script.- Replace <IP_address_or_domain> with either the public IP address or the domain name of the host where IBM Rapid Infrastructure Automation® runs.
- Replace <group_name> and <group_secret> with the name and secret of the worker group that you want the remote worker to be a member of.
- Allow at least five minutes for the upgrade to complete.
- Verify that the upgrade was completed successfully by running this
command:
When all pods are ready and are in a status ofkubectl get pods -n rna-rw
Running
orCompleted
, the upgrade of the remote worker is successful.