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
commit d2383ce467
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
}