-
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 convenience container-runtime flag for kubeadm #2052
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2052 +/- ##
=========================================
+ Coverage 28.59% 28.9% +0.31%
=========================================
Files 80 81 +1
Lines 5243 5304 +61
=========================================
+ Hits 1499 1533 +34
- Misses 3551 3578 +27
Partials 193 193
Continue to review full report at Codecov.
|
To enable the cri-o runtime you may now just use `minikube start --container-runtime=cri-o --bootstrapper=kubeadm` or `minikube start --container-runtiume=crio --bootstrapper=kubeadm` or `minikube start --extra-config=kubelet.container-runtime=remote --extra-config=kubelet.container-runtime-endpoint=/var/run/crio.sock --extra-config=image-service-endpoint=/var/run/crio.sock`
@@ -262,17 +302,35 @@ sudo systemctl start kubelet | |||
return nil | |||
} | |||
|
|||
func parseFeatureGates(featureGates string) (map[string]string, error) { |
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.
I don't see this used outside of tests.
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.
removed
`)) | ||
|
||
func installWants(containerRuntime string) string { |
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.
Could you do this directly in the template with an if statement?
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.
done
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.
15/15 checks. It's beautiful!
Depends on #2037
To enable the cri-o runtime you may now just use
or
or