-
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 --cni flag (replaces --enable-default-cni), fix --network-plugin handling #8545
Conversation
/ok-to-test |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tstromberg 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 |
kvm2 Driver Times for Minikube (PR 8545): [65.50141211699999 59.201991816 63.051135050999996] Averages Time Per Log
docker Driver Times for Minikube (PR 8545): [26.312457348000006 26.475253973999997 26.332362903] Averages Time Per Log
|
kvm2 Driver Times for Minikube (PR 8545): [66.76618305 60.24707035699999 64.63725781999999] Averages Time Per Log
docker Driver Times for Minikube (PR 8545): [26.030247301000003 25.694407717999997 27.65185485] Averages Time Per Log
|
Travis tests have failedHey @tstromberg, 1st Buildmake test
TravisBuddy Request Identifier: 22015800-b70e-11ea-bb0d-6965ce86ea0c |
kvm2 Driver Times for Minikube (PR 8545): [64.895559485 63.704116961000004 61.730437257999995] Averages Time Per Log
docker Driver Times for Minikube (PR 8545): [26.602782805 25.550593832000004 26.187859631000002] Averages Time Per Log
|
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.
Work is still required.
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.
looks good to me, one nit: I suggest removing one of the CNI plugins from this PR and add it as a follow up PR.
so we can make an example PR of it. how to add a CNI plugin to minikube, people would just follow that PR example
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.
after removing dns test from functional, please update this number to 26
here
https://github.com/medyagh/minikube/blob/b8229c3014e1a9a535f7ff8342d6b9b7317d7b76/.github/workflows/pr.yml#L542-L543
and here
https://github.com/medyagh/minikube/blob/b8229c3014e1a9a535f7ff8342d6b9b7317d7b76/.github/workflows/master.yml#L544
(that check was added to ensure when test times out and nothing fails, we be aware of low number of Passes that makes us feel we passsed with 0 failures but not enough of passed tests)
I'll follow this PR up with one which adds Calico support. |
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.
same line needs to be fixed in master github action too
https://github.com/medyagh/minikube/blob/b8229c3014e1a9a535f7ff8342d6b9b7317d7b76/.github/workflows/master.yml#L544
Travis tests have failedHey @tstromberg, 1st Buildmake test
TravisBuddy Request Identifier: d500c430-b72d-11ea-90cf-99978df78ba0 |
Travis tests have failedHey @tstromberg, 1st Buildmake test
TravisBuddy Request Identifier: 67ee23a0-b72e-11ea-90cf-99978df78ba0 |
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 (thank you for the walkthrough earlier!)
kvm2 Driver Times for Minikube (PR 8545): [64.925448332 62.98235371199999 65.19704372700001] Averages Time Per Log
docker Driver Times for Minikube (PR 8545): [26.599586724999998 28.513189787 25.879961539] Averages Time Per Log
|
Travis tests have failedHey @tstromberg, 1st Buildmake test
TravisBuddy Request Identifier: 07951f90-b733-11ea-90cf-99978df78ba0 |
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.
looks good to me, lets wait for all the test to finish plz
Travis tests have failedHey @tstromberg, 1st Buildmake test
TravisBuddy Request Identifier: f2272c10-b733-11ea-90cf-99978df78ba0 |
kvm2 Driver Times for Minikube (PR 8545): [59.77736803500001 61.852764822 64.81277180800002] Averages Time Per Log
docker Driver Times for Minikube (PR 8545): [26.599576327999994 25.356229325 25.077881675999997] Averages Time Per Log
|
kvm2 Driver Times for Minikube (PR 8545): [63.272530231 62.54277446900001 61.439905833] Averages Time Per Log
docker Driver Times for Minikube (PR 8545): [26.755699149 27.782569428 26.652289635000002] Averages Time Per Log
|
I'm going to merge this and follow-it up with an improvement for CRIO. |
Allows users to specify different CNI plug-ins to use. As a side-effect, this also fixes
--network-plugin=kubenet
Fixes multi-node: unable to choose CNI (always applies kindnet) #8222
Does not fix CoreDNS fails on minions on multi-node clusters. Can't resolve external DNS from non-master pods. #8055 (kubelet configuration for CNI child nodes still needs work)
Unblocks Pod unable to reach itself through a service (unless --cni=true is set) #1568 and evaluate if can supply CNI by default for multinode and others #8354