Merge pull request #128777 from SataQiu/fix-upgrade-dryrun-20241113

kubeadm: fix a bug where upgrade dryrun can not select the network interface correctly
This commit is contained in:
Kubernetes Prow Robot 2024-11-13 08:14:46 +00:00 committed by GitHub
commit f59dd4bce3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -754,7 +754,7 @@ func getPod(name, nodeName string) corev1.Pod {
"tier": constants.ControlPlaneTier,
},
Annotations: map[string]string{
constants.KubeAPIServerAdvertiseAddressEndpointAnnotationKey: "127.0.0.1:6443",
constants.KubeAPIServerAdvertiseAddressEndpointAnnotationKey: "0.0.0.0:6443",
},
},
Spec: corev1.PodSpec{