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

[WIP] Cni kindnet #3882

Closed
wants to merge 6 commits into from
Closed

[WIP] Cni kindnet #3882

wants to merge 6 commits into from

Conversation

aojea
Copy link
Contributor

@aojea aojea commented Mar 2, 2025

Simplify the network stack by using the cni-kindnet standalone plugin, that contains all the functionality we were using in a single binary, so we don't have to chain different plugins.

https://kindnet.es/docs/design/cni/

Fixes: #3880

@aojea aojea requested a review from BenTheElder March 2, 2025 15:14
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 2, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aojea

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Mar 2, 2025
@k8s-ci-robot k8s-ci-robot requested a review from stmcginnis March 2, 2025 15:14
@k8s-ci-robot k8s-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Mar 2, 2025
@@ -165,26 +165,16 @@ RUN git clone --filter=tree:0 "${CRI_TOOLS_CLONE_URL}" /cri-tools \
&& make BUILD_BIN_PATH=./build crictl \
&& GOARCH=$TARGETARCH go-licenses save --save_path=/_LICENSES ./cmd/crictl

# stage for building cni-plugins
# stage for building cni-plugin
Copy link
Member

Choose a reason for hiding this comment

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

hmm, this has a risk of skewing with kindnetd right?

we probably need to think about that, though I'm not sure what the best option is.
we could modify the node image build to handle this but I'm not sure that's better

[plugins."io.containerd.grpc.v1.cri".cni]
# use_internal_loopback use an internal mechanism to set lo to up on containers
# instead of the CNI loopback plugin
use_internal_loopback = true
Copy link
Member

Choose a reason for hiding this comment

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

do you have more details about this?

"plugins": [
{
"type": "cni-kindnet",
"ranges": [
Copy link
Member

Choose a reason for hiding this comment

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

I feel like the name here could be slightly more descriptive as to the purpose?

@aojea
Copy link
Contributor Author

aojea commented Mar 6, 2025

/close

I thought we had a bug, but it turned out to be other thing, this is not solving any problem we have today in kind, current setup has not had any bug in years, so we should be fine with it

@k8s-ci-robot
Copy link
Contributor

@aojea: Closed this PR.

In response to this:

/close

I thought we had a bug, but it turned out to be other thing, this is not solving any problem we have today in kind, current setup has not had any bug in years, so we should be fine with it

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Container networking failures on hosts with net.ipv4.conf.all.arp_ignore=2
3 participants