Aller au contenu principal

Upgrade

info

Currently only works with air-gapped environments.

Only one minor version at a time: if you are in 1.32.x, and want to upgrade to 1.34.x, you must upgrade first to 1.33.x.

Upgrade an existing cluster​

Run the kube.yaml ansible playbook from kube-provisioner delivery, with upgrade=true flag:

ansible-playbook -i inventory.yaml -e upgrade=true kube.yaml -u athea
info

This will upgrade controller(s) first, then the workers (if exists).

If you want more control, you can upgrade controller(s) first:

ansible-playbook -i inventory.yaml -e upgrade=true --tags controllers kube.yaml -u athea
info

in this state, some pods will be in 'ImagePullBackOff' status, this is expected and will be resolved once you upgrade the workers.

Then, upgrade the workers:

ansible-playbook -i inventory.yaml -e upgrade=true --tags workers kube.yaml -u athea