Skip to content

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

Open
@nddq

Description

@nddq

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.

Activity

vakalapa

vakalapa commented on Apr 7, 2025

@vakalapa
Contributor

#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

self-assigned this
on Apr 7, 2025
huntergregory

huntergregory commented on Apr 8, 2025

@huntergregory
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

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @vakalapa@nddq@huntergregory

    Issue actions

      endpoints are being regenerate every 2 minutes after bumping Cilium version · Issue #1514 · microsoft/retina