Skip to content

Conversation

ysksuzuki
Copy link
Member

This PR implements stream.Observable[GCEvent] to allow external consumers to observe the GC iterations over CT maps
for IPv4 and IPv6 entries. Also, it replaces purge nat entry logic with this stream.Observable implementation.

@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Nov 21, 2024
@github-actions github-actions bot added the sig/policy Impacts whether traffic is allowed or denied based on user-defined policies. label Nov 21, 2024
@ysksuzuki ysksuzuki added area/datapath Impacts bpf/ or low-level forwarding details, including map management and monitor messages. release-note/misc This PR makes changes that have no direct user impact. and removed sig/policy Impacts whether traffic is allowed or denied based on user-defined policies. labels Nov 21, 2024
@maintainer-s-little-helper maintainer-s-little-helper bot removed dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. labels Nov 21, 2024
@ysksuzuki
Copy link
Member Author

/test

@ysksuzuki
Copy link
Member Author

/test

@ysksuzuki ysksuzuki marked this pull request as ready for review November 21, 2024 11:39
@ysksuzuki ysksuzuki requested review from a team as code owners November 21, 2024 11:39
@ysksuzuki
Copy link
Member Author

@aspsk @doniacld @nathanjsweet gentle ping, could you please take a look?

Copy link
Contributor

@michi-covalent michi-covalent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ack on cli change 🚀

This commit implements stream.Observable[GCEvent] to allow
external consumers to observe the GC iterations over CT maps
for IPv4 and IPv6 entries. Also, it replaces purge nat entry
logic with this stream.Observable implementation.

Note that this commit renames Enabler interface to GCRunner and
move it from gc to ctmap package to avoid circular dependency.
The endpoint package can't depend on the gc package because the gc
depends on the endpoint package. This is necessary to run GCRunner.Run
in Endpoint.garbageCollectConntrack. (See next commit)

Signed-off-by: Yusuke Suzuki <yusuke.suzuki@isovalent.com>
…rack

This commit adds GCRunner to run GC in Endpoint.garbageCollectConntrack

Signed-off-by: Yusuke Suzuki <yusuke.suzuki@isovalent.com>
@ysksuzuki
Copy link
Member Author

/test

@ysksuzuki ysksuzuki removed the area/datapath Impacts bpf/ or low-level forwarding details, including map management and monitor messages. label Nov 28, 2024
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Nov 28, 2024
@ysksuzuki ysksuzuki added area/datapath Impacts bpf/ or low-level forwarding details, including map management and monitor messages. and removed ready-to-merge This PR has passed all tests and received consensus from code owners to merge. labels Nov 28, 2024
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Nov 28, 2024
@julianwiedmann julianwiedmann added this pull request to the merge queue Nov 28, 2024
Merged via the queue into cilium:main with commit 89c98fb Nov 28, 2024
64 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/datapath Impacts bpf/ or low-level forwarding details, including map management and monitor messages. feature/conntrack ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants