mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
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:
commit
f59dd4bce3
@ -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{
|
||||
|
Loading…
Reference in New Issue
Block a user