Skip to content

Commit

Permalink
kubeadm: fix a bug where upgrade dryrun can not select the network in…
Browse files Browse the repository at this point in the history
…terface correctly
  • Loading branch information
SataQiu committed Nov 13, 2024
1 parent 6b031e5 commit d81e8be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/kubeadm/app/util/apiclient/dryrun.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit d81e8be

Please sign in to comment.