You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Kubespray provides additional playbooks to manage your cluster: you can upgrade your cluster by running the upgrade-cluster.yml playbook. The reasons that can lead to updating your cluster may be due to an update of the GitHub repository or because you want to make some customizations. In practice, the update command is similar to that seen for cluster deployment

Upgrade cluster
# As usual, run the command from the "kubespray" folder
$ ansible-playbook -i inventory/mycluster/hosts.yaml --become --become-user=root upgrade-cluster.yml

The difference lies in the playbook used, of course. Anyway, before launching the update, let's see a handful of parameters that can be changed and what to do in order not to run into versioning problems.

Plan your cluster deployment


Multiple upgrades

Attention

Attempting to upgrade from an older release straight to the latest release is unsupported and likely to break something: do not skip releases when upgrading, but by one tag at a time.

  • No labels