Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

endpoints are being regenerate every 2 minutes after bumping Cilium version #1514

Open
nddq opened this issue Apr 4, 2025 · 2 comments · May be fixed by #1521
Open

endpoints are being regenerate every 2 minutes after bumping Cilium version #1514

nddq opened this issue Apr 4, 2025 · 2 comments · May be fixed by #1521
Assignees

Comments

@nddq
Copy link
Contributor

nddq commented Apr 4, 2025

Image
https://github.com/cilium/cilium/blob/2e57d3c934b9f62b9558807faf4af1e18ef18a72/pkg/endpointmanager/config.go#L19 This is controlling the periodic interval for regeneration, maybe this should be set to something much higher? The default is 2 minutes.

@vakalapa
Copy link
Contributor

vakalapa commented Apr 7, 2025

#1521 Trying to fix with this. Looks like the endpointmanager now has a default regen time added. Below is the PR from cilium i attached. Also this seems to be running GC as well in the agent, do we need to? @huntergregory , can we disable GC in the agent as well ?

https://github.com/cilium/cilium/pull/35815/files

@vakalapa vakalapa self-assigned this Apr 7, 2025
@huntergregory
Copy link
Contributor

can we disable GC in the agent as well

I think retina agent shouldn't modify cilium CRDs. We can have a custom k8s watcher instead of reusing Cilium's. The custom k8s watcher can use a dummy endpoint manager that does nothing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

3 participants