Cluster Upgrade
This article explains how to upgrade Run:ai cluster version.
Before upgrade¶
There are a number of matters to consider prior to upgrading the Run:ai cluster version.
System and network requirements¶
Before upgrading the Run:ai cluster, validate that the latest system requirements and network requirements are met, as they can change from time to time.
Important
It is highly recommended to upgrade the Kubernetes version together with the Run:ai cluster version, to ensure compatibility with latest supported version of your Kubernetes distribution
Helm¶
The latest releases of the Run:ai cluster require Helm 3.14 or above.
Upgrade¶
Follow the instructions to upgrade using Helm. The Helm commands to upgrade the Run:ai cluster version may differ between versions. The steps below describe how to get the instructions from the Run:ai UI.
Getting the installation instructions¶
Follow the setup and installation instructions below to get the installation instructions to upgrade the Run:ai cluster.
Setup¶
- In the Run:ai UI, go to Clusters
- Select the cluster you want to upgrade
- Click INSTALLATION INSTRUCTIONS
- Optional: Select the Run:ai cluster version (latest, by default)
- Click CONTINUE
Installation instructions¶
- Follow the installation instructions (See the additional instructions below when upgrading to v2.13)
run the Helm commands provided on your Kubernetes cluster (see the troubleshooting below if installation fails) - Click DONE
- Once installation is complete, validate the cluster is Connected and listed with the new cluster version (see the cluster troubleshooting scenarios). Once you have done this, the cluster is upgraded to the latest version.
Note
To upgrade to a specific version, modify the --version
flag by specifying the desired <version-number>
. You can find all available versions by using the helm search repo
command.
Upgrade to Run:ai cluster version 2.13 (old release)¶
Run:ai cluster version 2.13 (old release) does not support migration of the configured Helm values. If you have customized configurations you want to migrate, follow the additional steps below:
- Download the Run:ai Helm values file by running the command provided in your terminal
- Run the following command to save existing cluster Helm values into
old-values.yaml
- Identify configured custom values that you want to migrate
- Manually merge the values from
old-values.yaml
into the new values file
Troubleshooting¶
If you encounter an issue with the cluster upgrade, use the troubleshooting scenario below.
Installation fails
If the Run:ai cluster upgrade fails, check the installation logs to identify the issue.
Run the following script to print the installation logs:
Cluster status
If the Run:ai cluster upgrade completes, but the cluster status does not show as Connected, refer to the cluster troubleshooting scenarios
.