mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-13 06:04:02 +00:00
Automatic merge from submit-queue kubeadm: Make kube-apiserver's liveness probe match its bindport. The `kube-apiserver` liveness probe port had previously been hardcoded, so if you used `--apiserver-bind-port` to override the default port (6443), then the health check for the pod would quickly fail and kubelet would continuously kill the apiserver. **Which issue this PR fixes**: fixes https://github.com/kubernetes/kubeadm/issues/196 **Release note**: ```release-note kubeadm: fix kube-apiserver liveness probe port when --apiserver-bind-port given ```