-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Add kindnet network plugin #17158
base: master
Are you sure you want to change the base?
Add kindnet network plugin #17158
Conversation
13985ad
to
9e14fd2
Compare
Ok, it is working now
|
failed job is unrelated
This is ready for review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just a few comments. Thanks @aojea!
I will send a PR for a pre-submit for kindnet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We haven't used it in a while but we may want to put this behind a kops feature gate to make it clear that it is experimental and we may make breaking changes. WDYT @hakman ?
kindnet is already used in CI for other kubernetes jobs and projects https://grep.app/search?q=aojea/kindnet so breaking compatibility within kindnet is something I don't expect, however, how to get the better integration with Kops is something I need your advice |
I think we cab skip the flag, as long as we add a warning in the doc file. |
/test pull-kops-e2e-cni-kindnet |
finally progress , thanks @rifelpet for the tip, it was the srcDst check thing https://prow.k8s.io/view/gs/kubernetes-ci-logs/pr-logs/pull/kops/17158/pull-kops-e2e-cni-kindnet/1875096705037242368 now to debug those 3 test failing :) |
The CSI test may be a flake, it's quite common. |
the 2 network tests |
I meant the non-e2e test failures 😄 |
/test pull-kops-e2e-cni-kindnet |
other pod scheduling timeout error /test pull-kops-e2e-cni-kindnet |
/test pull-kops-e2e-cni-kindnet |
/test pull-kops-e2e-cni-kindnet |
/test pull-kops-e2e-cni-kindnet |
ok, fastpath ruled out, it keeps failing the same two tests
now to try to understand what is the problem, it does not fail in other amazon jobs https://testgrid.k8s.io/amazon-ec2-al2023#Conformance%20-%20EC2/EKS/AL2023%20-%20master |
In AWS jobs the focus is on Conformance. The 2 tests that fail are not running. |
there are some jobs that replicate the gce ones and should be running those tests, but it seems that those are skipped https://testgrid.k8s.io/amazon-ec2#ec2-arm64-ubuntu-master-containerd&include-filter-by-regex=%20be%20able%20to%20handle%20large%20requests%3A ... I need to investigate more, revisting the test logic the connectivity seems to work, otherwise it should log an error IIUIC, is just that there is no message received 🤔 |
@aojea Not sure if Kindnet need the CNI Network Plugin binaries. Lines 941 to 945 in 84948bb
Besides the few remaining nits and the 3 failing tests, I think this is pretty good as it is. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
great, I will address last comments and work on this today /test pull-kops-e2e-cni-kindnet |
2bdbd59
to
a36c140
Compare
/test pull-kops-e2e-cni-kindnet |
get more networking information usefult to troubleshoot network issues.
add kindnet as an experimental network addon containerd adds the requirement to use the loopback cni plugin, kindnet provides that capability and containerd does not require it since containerd/containerd/pull/10238 Change-Id: I71cf66a557603d560b13ff7bc3aef34cb90fcf98
Change-Id: I2db75ddc530d16d49da17744291dd79a697c81aa
@aojea: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
Kindnet has been running in Kubernetes CI for a while and there are some people that uses it, I've been adding new features like dns cache or kernel bypass or admin network policies that are not present in all the other common cnis.
Integration with kops will help to improve its testing and also benefits users that are looking for a more minimalistic CNI plugin
https://github.com/aojea/kindnet