This section describes how to upgrade your Kubernetes environment.
To upgrade your Kubernetes environment to version 1.22:
-
Upgrade your Kubernetes cluster to Kubernetes version 1.21.
-
Upgrade your CloudBees CD/RO Helm release to version 2.14.0 by changing
nginx-ingress
toingress-nginx
.$ RELEASE=<your-Cd-Helm-Release-Name> $ NAMESPACE=<your-Cd-Helm-Release-Namespace> $ helm get values $RELEASE -n $NAMESPACE -o yaml > cd-values.yaml $ helm upgrade $RELEASE cloudbees/cloudbees-flow --version 2.14.0 \ -n $NAMESPACE -f cd-values.yaml \ --set ingress-nginx.enabled=true \ --set nginx-ingress.enabled=false \ --set ingress.class=nginx \ --dry-run --debug $ helm upgrade $RELEASE cloudbees/cloudbees-flow --version 2.14.0 \ -n $NAMESPACE -f cd-values.yaml \ --set ingress-nginx.enabled=true \ --set nginx-ingress.enabled=false \ --set ingress.class=nginx \ --timeout 4200s
-
Upgrade your Kubernetes cluster to version 1.22.