We recently upgraded replicated to v2.49.0. This version is supposed to upgrade Kubernetes from v.1.15.3 to v.1.15.12 and it did.
After the upgrade, we noticed that the Kubernetes server is upgraded to v.1.15.12 but
kubelet are still left at
v.1.15.3. I went through the install script and found that we are force upgrading kubeadm to
kubeadm upgrade apply "v$k8sVersion" --yes --config /opt/replicated/kubeadm.conf --force and then we are replacing
kubeadm binary from archives folder.
Even I tried upgrading it manually by running
kubeadm upgrade apply v.1.15.12 it returns back
[upgrade/successful] SUCCESS! Your cluster was upgraded to "v1.15.12". Enjoy! but kubeadm version still returns v.1.15.3.
Any ideas why kubeadm and kubectl were left out and how to get it upgraded?
In case I need to upgrade kubeadm binary manually how can that be done? I couldn’t find the binaries anywhere on the internet. Should I compile and get it replaced?