Skip to content

Upgrade Run:ai

Preparations

No preperation required.

  • 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).

Upgrade Control Plane (Backend)

Run the helm command below.

kubectl delete deployment -n runai-backend runai-backend-nginx-ingress-controller

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 

kubectl delete deployment -n runai-backend runai-backend-nginx-ingress-controller

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 control plane (backend) version)

Upgrade Cluster

To upgrade the cluster follow the instructions here.

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

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)


Last update: March 23, 2022