mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 21:17:23 +00:00
kubeadm: fix a bug where upgrade dryrun can not select the network interface correctly
This commit is contained in:
parent
6b031e50b2
commit
d81e8beaea
@ -754,7 +754,7 @@ func getPod(name, nodeName string) corev1.Pod {
|
|||||||
"tier": constants.ControlPlaneTier,
|
"tier": constants.ControlPlaneTier,
|
||||||
},
|
},
|
||||||
Annotations: map[string]string{
|
Annotations: map[string]string{
|
||||||
constants.KubeAPIServerAdvertiseAddressEndpointAnnotationKey: "127.0.0.1:6443",
|
constants.KubeAPIServerAdvertiseAddressEndpointAnnotationKey: "0.0.0.0:6443",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Spec: corev1.PodSpec{
|
Spec: corev1.PodSpec{
|
||||||
|
Loading…
Reference in New Issue
Block a user