-
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
Remove --skip-preflight-checks, ignore unwanted checks #2403
Conversation
Better to ignore the checks that we don't want, rather than disabling all of them in case something important appears... Currently known failing checks: [WARNING SystemVerification]: docker version is greater than the most recently validated version. Docker version: 17.06.0-ce. Max validated version: 17.03 [WARNING FileExisting-crictl]: crictl not found in system path [WARNING Service-Docker]: docker service is not enabled, please run 'systemctl enable docker.service' [ERROR DirAvailable--etc-kubernetes-manifests]: /etc/kubernetes/manifests is not empty [ERROR Swap]: running with swap on is not supported. Please disable swap
crictl was added as: #2404 |
Can one of the admins verify this patch? |
@minikube-bot ok to test |
The systemd files were removed in 56e250e, since it needs runtime configuration. But it could probably "enable" the needed runtime, if that makes sudo systemctl daemon-reload &&
sudo systemctl enable kubelet &&
sudo systemctl enable $RUNTIME &&
sudo systemctl start kubelet Where $RUNTIME would be the same as kubelet.service, maybe docker.service instead of docker.socket: [Install]
{{if or (eq .ContainerRuntime "cri-o") (eq .ContainerRuntime "cri")}}Wants=crio.service{{else}}Wants=docker.socket{{end}} Since: docker.socket depends on docker.service, but |
Swap is discussed in #1827 |
Service enabled in: #2406 |
1.9.1 says: |
Is this ready to be merged? |
@dlorenc : I think so, it should handle all errors. The warnings however, are addressed in separate PRs |
@minikube-bot test this please |
Better to ignore the checks that we don't want, rather than
disabling all of them in case something important appears...
Currently known failing checks:
[WARNING SystemVerification]: docker version is greater than
the most recently validated version. Docker version: 17.06.0-ce. Max validated version: 17.03
[WARNING FileExisting-crictl]: crictl not found in system path
[WARNING Service-Docker]: docker service is not enabled, please run 'systemctl enable docker.service'
[ERROR DirAvailable--etc-kubernetes-manifests]: /etc/kubernetes/manifests is not empty
[ERROR Swap]: running with swap on is not supported. Please disable swap
https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.9.md