Skip to content
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

support minikube in systems without systemctl #3392

Closed
matti opened this issue Dec 3, 2018 · 3 comments
Closed

support minikube in systems without systemctl #3392

matti opened this issue Dec 3, 2018 · 3 comments
Labels
co/kubeadm Issues relating to kubeadm co/none-driver

Comments

@matti
Copy link

matti commented Dec 3, 2018

In #2134

Decide if we still want to support non-systemd systems (complicates the configuration for the kubeadm kubelet)

I guess the decission was no because now in Google Cloud Shell machine:

$ minikube version
minikube version: v0.30.0
$ sudo minikube start --vm-driver none
Starting local Kubernetes v1.10.0 cluster...
Starting VM...
Getting VM IP address...
Moving files into cluster...
E1203 14:31:34.930104   16261 start.go:254] Error updating cluster:  starting kubelet: running command:
sudo systemctl daemon-reload &&
sudo systemctl enable kubelet &&
sudo systemctl start kubelet
: exit status 1

Can I somehow run minikube in this environment?

@matti
Copy link
Author

matti commented Dec 3, 2018

related: #2704

@tstromberg
Copy link
Contributor

This is essentially a dupe of #2704. minikube runs great in Google Compute Engine, with VM's (KVM, Virtualbox) or in None mode, but I'm not sure of what limitations Google Cloud Shell has in place.

Changing this will likely mean sending patches into kubeadm, but if there is anything we can do on the minikube side, we'll happily review any PR to make this situation better.

@tstromberg tstromberg added co/none-driver co/kubeadm Issues relating to kubeadm labels Dec 3, 2018
@matti
Copy link
Author

matti commented Dec 4, 2018

@tsrromberg Google cloud shell is based on debian (?) and the systemctl is not present there.

But yes, agreed that this is essentially a dup of #2704 - although I want to point out that google cloud shell default image ships with older minikube that works, because it does not require systemd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/kubeadm Issues relating to kubeadm co/none-driver
Projects
None yet
Development

No branches or pull requests

2 participants