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
<version>
with the control plane (backend) version) Upgrade Cluster¶
To upgrade the cluster follow the instructions here.
Last update: March 23, 2022