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
Switch deprecated corev1.Endpoints with discoveryv1.EndpointSlices
Had to rewrite logServiceEndpoints function:
- Changed from using corev1.Endpoints to discoveryv1.EndpointSliceList
- Now lists all EndpointSlices for a service using the kubernetes.io/service-name label
- Updated logic to work with the new EndpointSlice structure where:
- Each endpoint has a Conditions.Ready field instead of separate ready/not-ready address lists
- Ports are at the slice level with optional pointer fields
Signed-off-by: Anik Bhattacharjee <anbhatta@redhat.com>
0 commit comments