Skip to content

Support GC verb introduced in CNI spec 1.1 - #131

Open
henry118 wants to merge 1 commit into
containerd:mainfrom
henry118:gc
Open

Support GC verb introduced in CNI spec 1.1#131
henry118 wants to merge 1 commit into
containerd:mainfrom
henry118:gc

Conversation

@henry118

@henry118 henry118 commented Oct 2, 2025

Copy link
Copy Markdown
Member

This patch adds support of the GC verb introduced in CNI spec 1.1.

CNI spec 1.1 added GC verb that allows plugins to clean up stale network resources when invoked. This feature is useful to mitigate any potential leaked resources.

The community also recently discussed adding this here.

This patch will enable us to implement the network GC mechanism in containerd's CRI plugin.

Signed-off-by: Henry Wang <henwang@amazon.com>
@henry118

henry118 commented Oct 2, 2025

Copy link
Copy Markdown
Member Author

cc @squeed @MikeZappa87 @mikebrow

@mikebrow

mikebrow commented Oct 5, 2025

Copy link
Copy Markdown
Member

Thx @henry118 will take a look.

@MikeZappa87

Copy link
Copy Markdown
Member

Cool! Thanks @henry118 ! Will add it to the review queue

@mikebrow

Copy link
Copy Markdown
Member

@MikeZappa87 forgot about this new verb.. crio has an impl we can compare against

@MikeZappa87

Copy link
Copy Markdown
Member

@MikeZappa87 forgot about this new verb.. crio has an impl we can compare against

https://github.com/cri-o/ocicni/blob/18fd1eb65da5e08b9be18d7be139edc1bc0b00cf/pkg/ocicni/ocicni.go#L864

That has been in for a bit. This fell off the radar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants