Merge pull request #121457 from SteveProXNA/stevepro-topology-endpoint-logging

Add endpoint to skip topology aware log when missing zone hint
This commit is contained in:
Kubernetes Prow Robot
2023-10-24 17:10:45 +02:00
committed by GitHub

View File

@@ -166,7 +166,7 @@ func canUseTopology(endpoints []Endpoint, svcInfo ServicePort, nodeLabels map[st
continue
}
if endpoint.GetZoneHints().Len() == 0 {
klog.InfoS("Skipping topology aware endpoint filtering since one or more endpoints is missing a zone hint")
klog.InfoS("Skipping topology aware endpoint filtering since one or more endpoints is missing a zone hint", "endpoint", endpoint)
return false
}