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

CNI 1.1.0 support #1273

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

s1061123
Copy link
Member

@s1061123 s1061123 commented May 2, 2024

This PR support CNI SPEC 1.1.0, with new CNI commands, GC and STATUS.

@coveralls
Copy link

coveralls commented May 2, 2024

Coverage Status

coverage: 62.58% (-0.5%) from 63.116%
when pulling 2bcc0fa on s1061123:cni110
into aff99fc on k8snetworkplumbingwg:master.

@s1061123 s1061123 changed the title CNI 1.1.0 support [WIP]CNI 1.1.0 support May 20, 2024
@s1061123
Copy link
Member Author

Need to discuss: May need to disable GC for now because it may happens unexpected resource removal by GC (if same CNI plugin is used for both, cluster network and net-attach-def, it mihgt be happen)

This change supports up to date CNI 1.1 command, GC and STATUS for
cluster network.
@s1061123 s1061123 changed the title [WIP]CNI 1.1.0 support CNI 1.1.0 support May 24, 2024
@s1061123
Copy link
Member Author

Need to discuss: May need to disable GC for now because it may happens unexpected resource removal by GC (if same CNI plugin is used for both, cluster network and net-attach-def, it mihgt be happen)

Changed.

pkg/multus/multus.go Dismissed Show dismissed Hide dismissed
pkg/multus/multus.go Dismissed Show dismissed Hide dismissed
This code changes CNI's GC command argument. Previously it just
passes from parent CNI runtime, however, it may causes unexpected
resource deletion if one CNI plugin is used in both cluster
network and net-attach-def. This change generates valid attachments
from multus CNI cache and passed to delegate CNI plugin.
@maiqueb
Copy link
Collaborator

maiqueb commented May 30, 2024

/cc

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.

None yet

3 participants