I changed the Kubernetes version from 1.14.0 to 1.16.0 after I ran the playbook for the first time and then re-run it. It ran trough and updated the packages like this:
From sudo kubeadm upgrade plan on the master, one can get the available version to upgrade to. Upgrade then the first master node like this: sudo kubeadm upgrade apply <NEWVERSION>. Once this is done, every additional master node needs sudo kubeadm upgrade node. Do not forget to restart Kubelet.
As for the worker nodes, do (one node after another):
I changed the Kubernetes version from 1.14.0 to 1.16.0 after I ran the playbook for the first time and then re-run it. It ran trough and updated the packages like this:
But it did not take care of upgrading the configuration, kubectl still shows me 1.14.0 for all nodes. It works like this: https://v1-15.docs.kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade-1-15/
From
sudo kubeadm upgrade plan
on the master, one can get the available version to upgrade to. Upgrade then the first master node like this:sudo kubeadm upgrade apply <NEWVERSION>
. Once this is done, every additional master node needssudo kubeadm upgrade node
. Do not forget to restart Kubelet.As for the worker nodes, do (one node after another):
I'm afraid, I've currently not enough time to implement this myself.