-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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 netfilter xt_ipvs module needed by Calico #2490
Add netfilter xt_ipvs module needed by Calico #2490
Conversation
Calico 3.0 needs xt_ipvs module, otherwise it fails to run (see https://github.com/projectcalico/felix/blob/master/iptables/match_builder.go#L70-L76 for details).
Can one of the admins verify this patch? |
@minikube-bot ok to test |
@r2d4 thanks for running the test, seems like the Jenkins cross build failed, but to me it looks like the issue is not related to this PR. It failed on fetching Have you seen this issue? Maybe the oberhumer.com was down temporarily? Just asking as I would like to get this in and if there's anything I can help with here. |
@minikube-bot retest this please |
Lets try it again. Definitely not related to this PR, but we do a fresh build of the ISO on changes, so it looks like hopefully an intermittent network error with one of the sources. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dlorenc, stepanstipl The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Thanks everyone for help and reviewing, happy to get this in! 👍 |
Btw. would you guys be interested in adding Calico addon, which effectively enables Network Policies on minikube? I have it working, although there are some limitations - it needs cni networking, kubeadm bootstrapper and start a cluster with |
Calico 3.0 needs xt_ipvs module, otherwise, it fails to run (see
https://github.com/projectcalico/felix/blob/master/iptables/match_builder.go#L70-L76
for details).
I was able to build minikube.iso locally and test Calico 3.0 deployment in policy only mode. To replicate:
Build/get minikube.iso from this PR
Start minikube
(expects iso in current directory)
Deploy following manifests to Kube cluster:
Result of this should be K8S cluster with working NetworkPolicies using Calico.