Envoy does not remove endpoint after it's been removed from the Kubernetes Endpoint object when health checking is enabled #603
Labels
kind/bug
Categorizes issue or PR as related to a bug.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Milestone
When active health checking is enabled, Envoy does not seem to remove endpoints from the ClusterLoadAssignment when endpoints are removed from the Kubernetes Endpoints object.
There is an Envoy Cluster option that I suspect is related to this:
(https://www.envoyproxy.io/docs/envoy/latest/api-v2/api/v2/cds.proto)
xref: projectcontour/gimbal#208
Steps to reproduce:
Verify you can reach kuard via the ingressroute
Edit the kuard pod, and remove the
run: kuard
label to remove this pod from the Endpoints object. This will trigger the creation of a new pod, and the Kubernetes Endpoints object will be updated to contain the address of the new pod.Expected result: Envoy removes the other endpoint from the ClusterLoadAssignment
Actual result: Envoy maintains the old endpoint in the ClusterLoadAssignment, and sends traffic to both the old pod and the new one.
The text was updated successfully, but these errors were encountered: