Open mbrancato opened 4 days ago
I'm pretty sure this is an upstream bug, and have opened this: https://github.com/kubernetes/kubernetes/issues/127370
In the SKS update process, it is the private service Endpoints that are feeding SKS. Is there any plan to read from EnpointSlices (stable since 1.21) and move away from the legacy Endpoints? From the docs:
The EndpointSlice API is the recommended replacement for Endpoints.
What version of Knative?
Expected Behavior
endpoints should update properly
Actual Behavior
Endpoints for a service are not getting updated on scale down operation or pod deletes. This leaves a lot of incorrect values in the endpoints. The propagates to the public service as well.
I was able to get logs like this from SKS:
Steps to Reproduce the Problem
This happens with all our
ksvc
that scale up and then down or have pods removed (via delete / evict).