-
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
none: Add support for non-systemd Linux distributions #2704
Comments
The same thing is happening on CircleCI. It seems to be due to minikube expecting to find |
I think you'll need to pass --bootstrapper=localkube to work with the none driver in environments that don't have system for now. |
@dlorenc Is this the recommended way to work around systemd or this is a regression bug? |
It's a bit of a regression caused by the switch from localkube to kubeadm by default. Kubeadm with the none driver requires systemd. The other problem here is that travis only supports up to Ubuntu 14.04, and systemd was added in 16.04. |
/cc @r2d4 |
/cc @aaron-prindle |
The default is `kubeadm`, which requires systemd, which is not present on Trusty, which is what's used by both CircleCI and Travis. This change should be reverted once this issue is fixed: kubernetes/minikube#2704
@dlorenc seems we force use |
We are also experiencing this. It sounds like travis will need some time to provide an image with systemd. This would at least highlight the problem. I am not sure what the right fix is tho (wait for travis update or fix it in minikube). |
Workaround for kubernetes/minikube#2704 Resolves: kubevirt#42 Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Workaround for kubernetes/minikube#2704 Resolves: kubevirt#42 Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Ping @dlorenc @r2d4 @aaron-prindle Any suggestions? Pinning on an old version of minikube is not so good from a long run perspective. |
Friendly ping.~ |
* Test multiple versions of k8s * Internet suggested hack to get minikube+circleci kubernetes/minikube#2704 (comment) * Add a third "stable" target for k8s testing * Re-run kubernetes jobs once a day in case of new k8s
/reopen |
@sharifelgamal: Reopened this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
The switch suggested above did not work for me on minikube 1.4.0.
It's just an empty script, which only works because it returns a non-zero exit code, effectively bypassing the attempt to start I gave up on what I was trying when I ran into more issues but it got me past that hurdle |
this is still a feature that havent been implemented not same but related in a way #4172 |
related #6954 we still need to do this ! anyone interested ? |
We need to pass |
Support for |
We fixed this by adding support for OpenRC. |
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT
minikube start --vm-driver=none --kubernetes-version=v1.8.0 --logtostderr
failed to start on travis ci. For more info: https://travis-ci.org/kubernetes/kube-state-metrics/jobs/365005727The text was updated successfully, but these errors were encountered: