-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Adding kube-proxy-replacement support in cilium #6334
Adding kube-proxy-replacement support in cilium #6334
Conversation
Hi @MrFreezeex. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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/test-infra repository. |
da236e2
to
7e514e1
Compare
/ok-to-test |
I have tested this PR with #5554 in strict mode and I have a working cluster without kube-proxy 🎉. |
Is there anything one can help to speed up things here? |
as #5554 is now merged, could you rebase and we can see if the test succeed ? |
7e514e1
to
aea95c6
Compare
I rebased ! Side note during my test I had issues on ubuntu 18 because of the old kernel version. If this fails again It's probably because of that, but let's see how It goes... |
aea95c6
to
0927696
Compare
The test did failed... Probably due to the same issue I had. I changed the base distro to debian10 so It should works in the CI! |
8a726d3
to
a9309ff
Compare
Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
a9309ff
to
fd53a7b
Compare
The CI job for cilium in strict mode has succeeded https://gitlab.com/kargo-ci/kubernetes-sigs-kubespray/-/jobs/638214670 ! This PR should be ready to be reviewed :). |
Would like to see this merged... Can I help somehow? Test anything? |
There was a CI issue and the PR drop out of sight I guess.. But I restarted jobs this afternoon and was ready to lgtm :) |
Well seems fine to me, agreed with the manual part as Cilium job is manual. All yours @Miouge1 |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Miouge1, MrFreezeex 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 |
ok guys, i've tested this and i think we need to set the k8s api host and port at the cilium agent's:
and in the vars:
because the "normal" k8s api service is not reachable without a kube-proxy beforehand.... |
I also saw this in the docs but I didn't encouter any problem testing in strict mode without these variables. Also the test case added in this PR pass with an healthy cluster. Do you have an example of a setup in which a kube proxy less cilium deployment is not working ? |
I guess it's not a problem with a running cluster b/c kube-proxy created the svc already. But spawn a completely new cluster, then it won't work. |
I did it with a new cluster though and the test is already doing that... What is your test setup ? |
bare metal, ubuntu 20. wireguard tunnel between nodes, therefore ip = $internal_ip and ansible_host: $externalip. loadbalancer_apiserver is set to a ip that balances to 2 etcd nodes which run the apiserver. It worked all with kube-proxy and cilium. |
Trying to replicate and fix in #6473. |
Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
Signed-off-by: Arthur Outhenin-Chalandre arthur@cri.epita.fr
What type of PR is this?
/kind feature
What this PR does / why we need it:
Add kube-proxy-replacement support for a kube proxy free deployment with cilium https://docs.cilium.io/en/v1.8/gettingstarted/kubeproxy-free/
It still needs #5554 to fix various kube_proxy_remove bugs...
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: