Skip to content

Commit d81e8be

Browse files
committed
kubeadm: fix a bug where upgrade dryrun can not select the network interface correctly
1 parent 6b031e5 commit d81e8be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/kubeadm/app/util/apiclient/dryrun.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ func getPod(name, nodeName string) corev1.Pod {
754754
"tier": constants.ControlPlaneTier,
755755
},
756756
Annotations: map[string]string{
757-
constants.KubeAPIServerAdvertiseAddressEndpointAnnotationKey: "127.0.0.1:6443",
757+
constants.KubeAPIServerAdvertiseAddressEndpointAnnotationKey: "0.0.0.0:6443",
758758
},
759759
},
760760
Spec: corev1.PodSpec{

0 commit comments

Comments
 (0)