Unnecessary watch of headless-related EndpointSlice objects #26069
Labels
kind/bug
This is a bug in the Cilium logic.
kind/community-report
This was reported by a user in the Cilium community, eg via Slack.
needs/triage
This issue requires triaging to establish severity and next steps.
Is there an existing issue for this?
What happened?
When debugging a heavily loaded cluster with a high churn on pods fronted by the headless services, we found out that cilium-agents watch all EndpointSlice objects rather than the ones that correspond to usual services only, contrary to what kube-proxy does.
In addition, cilium-agent already filters out headless services in its label selector on services watch, so I believe this to be a bug, unless I'm not aware of some special use case the agent has for this 🤷.
Cilium Version
1.12.10
Kernel Version
N/A
Kubernetes Version
1.27.2
Sysdump
No response
Relevant log output
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: