-
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
--extra-config now work for kubeadm as well #3879
--extra-config now work for kubeadm as well #3879
Conversation
Can one of the admins verify this patch? |
This is quite a convoluted syntax for the check, and it seems that it is duplicating the preflight checks in two different places now. Can see the reason for skipping Docker version check (surely they will name the next version something weird and break it again), but supporting generic parameters to kubeadm might be hard to do. Would rather see something more specific to SystemVerification at this point in time. |
hey, @afbjorklund ! An alternative for my generic approach would be similar to what was implemented here: #3892 The problem with that implementation is that minikube will one day become a mess if we start exposing each and every parameter from other tools to it. Also, my approach is future compatible. That being said, I am neutral to how this get's implemented as long as I can tell minikube to tell kubeadm not to complain about docker versions. Please tell me if I can help you in any other way! |
If you add an example command-line to start_stop_delete_test.go, I'd be good to merge this. |
… kubeadm.ignore-preflight-errors=SystemVerification missing variable
…e-preflight-errors=SystemVerification" too
0b3e08d
to
8aec728
Compare
Hi @tstromberg ! And since travis does not do integration tests, here is my passing output: This is the command I used to run the tests: (I must use |
@minikube-bot OK to test |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: marcosdiez, 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 |
@minikube-bot OK to test |
This small patch allows us to use
--extra-config
also withkubeadm
.My primary motivation is to run
minikube
with thenone
vm driver in any version of docker.This patch allows one to do so like this:
sudo -E minikube start --vm-driver=none --kubernetes-version v1.11.8 --extra-config kubeadm.ignore-preflight-errors=SystemVerification