The CRI socket that kubeadm writes as an annotation on a particular Node object can include an endpoint that does not have an URL scheme. This is undesired as long term the kubelet can stop allowing endpoints without URL scheme. For control plane nodes "kubeadm upgrade apply" takes the locally defaulted / populated NodeRegistration and refreshes the CRI socket in PerformPostUpgradeTasks. But for secondary nodes "kubeadm upgrade node" does not. Adapt "upgrade node" to fetch the NodeRegistration for this node and fix the CRI socket missing URL scheme if needed in the Node annotation.
30 KiB
30 KiB