Skip to content

Commit

Permalink
UPSTREAM: <drop>: attempt to fix pathological events
Browse files Browse the repository at this point in the history
  • Loading branch information
bertinatto committed Dec 9, 2024
1 parent 25d272c commit c05bf75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/kubelet/nodestatus/setters.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ func NodeAddress(nodeIPs []net.IP, // typically Kubelet.nodeIPs
// required to ensure the external cloud provider will use the same addresses to avoid the issues explained
// in https://github.com/kubernetes/kubernetes/issues/120720.
// We are already hinting the external cloud provider via the annotation AnnotationAlphaProvidedIPAddr.
if nodeIP == nil {
// if nodeIP == nil {
if !nodeIPSpecified {
node.Status.Addresses = []v1.NodeAddress{
{Type: v1.NodeHostName, Address: hostname},
}
Expand Down

0 comments on commit c05bf75

Please sign in to comment.