Skip to content

Commit

Permalink
Merge pull request kubernetes#128777 from SataQiu/fix-upgrade-dryrun-…
Browse files Browse the repository at this point in the history
…20241113

kubeadm: fix a bug where upgrade dryrun can not select the network interface correctly
  • Loading branch information
k8s-ci-robot authored Nov 13, 2024
2 parents 0926587 + d81e8be commit f59dd4b
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 f59dd4b

Please sign in to comment.