Add endpoint to skip topology aware log when missing zone hint

This commit is contained in:
SteveProXNA 2023-01-05 18:17:32 +00:00
parent 2d534e4bea
commit fb6fd36384

View File

@ -168,7 +168,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
}