You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
klog.Warningf("Address in %s/%s Endpoints is not a valid IP, it will not be mirrored to an EndpointSlice: %s", endpoints.Namespace, endpoints.Name, address.IP)
67
88
}
68
89
}
69
90
70
91
for_, address:=rangesubset.NotReadyAddresses {
71
-
totalAddresses++
72
-
iftotalAddresses>int(r.maxEndpointsPerSubset) {
92
+
// Break if we've reached the max number of addresses to mirror
93
+
// per EndpointSubset. This allows for a simple 1:1 mapping between
klog.Warningf("Address in %s/%s Endpoints is not a valid IP, it will not be mirrored to an EndpointSlice: %s", endpoints.Namespace, endpoints.Name, address.IP)
"Skipped %d invalid IP addresses when mirroring to EndpointSlices", numInvalidAddresses)
118
+
}
119
+
120
+
// Record a separate event if we skipped mirroring due to the number of
121
+
// addresses exceeding MaxEndpointsPerSubset.
122
+
ifaddressesSkipped>numInvalidAddresses {
123
+
klog.Warningf("%d addresses in %s/%s Endpoints were skipped due to exceeding MaxEndpointsPerSubset", addressesSkipped, endpoints.Namespace, endpoints.Name)
0 commit comments