Skip to content

Upgrade Run:AI

Preparations

  • Ask for a tar file runai-air-gapped-<new-version>.tar from Run:AI customer support. The file contains the new version you want to upgrade to. new-version is the updated version of the Run:AI backend.
  • Prepare the installation artifact as described here (untar the file and run the script to upload it to the local container registry).

No additional work

Upgrade Backend

Run the helm command below.

helm get values runai-backend -n runai-backend > be-values.yaml
helm upgrade runai-backend runai-backend/runai-backend-<version>.tgz -n \
    runai-backend  -f be-values.yaml
(replace <version> with the backend version)

helm repo add runai-backend https://backend-charts.storage.googleapis.com
helm repo update
helm get values runai-backend -n runai-backend > be-values.yaml
helm upgrade runai-backend -n runai-backend runai-backend/runai-backend -f be-values.yaml 

Upgrade Cluster

To upgrade the cluster follow the instructions here.

helm get values runai-cluster -n runai > values.yaml
helm upgrade runai-cluster -n runai runai-cluster-<version>.tgz -f values.yaml
(replace <version> with the cluster version)

kubectl apply -f https://raw.githubusercontent.com/run-ai/public/main/runai-crds.yaml
helm repo update
helm get values runai-cluster -n runai > values.yaml
helm upgrade runai-cluster runai/runai-cluster -n runai -f values.yaml

Last update: October 14, 2021