-
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: minikube should be able to be run by a non-root user (use sudo when necessary) #3760
Comments
@sourabh1031 can you provide the full output/error that you got when it crashed? |
minikube start --vm-driver=none
💡 Tip: Use 'minikube start -p ' to create a new cluster, or 'minikube delete' to delete this one. 😿 Sorry that minikube crashed. If this was unexpected, we would love to hear from you: |
when i ran command using sudo i got this
💡 This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true 😿 Sorry that minikube crashed. If this was unexpected, we would love to hear from you: |
@sourabh1031 can you try by setting
|
Resolved #4349 by running as: From curl install command minikube was installed in /usr/local/bin but root does not have that in PATH. |
Hi, this is referenced by https://github.com/kubernetes/minikube/blob/master/docs/vmdriver-none.md Since this issue was closed, it gives the impression that the |
@alisianoi may be correct. Although both of these posts claim to have run as non-root:
After following the instructions there (which are the same printed by the minikube installer), I still get:
|
This issue was unintentionally closed. |
I think we should make this the default (run |
This is still on our radar. I encourage that users of That said, we still plan to support |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
We encountered a problem with minikube and Docker driver on GitHub Actions CI – there is some networking or firewall problem (?), and several pods can't connect to each other. It works with And yeah, "automatic" |
@AlekSi for running minikube in githbhub action we have a tutorial here have you tried that ? |
meanwhile this feature is till available for anyone who wants to pick it up ! i would happily review a PR for this |
Want to chime in on our use case. We're trying to move towards K8s from Rancher 1.6 Cattle/Traefik 1.7 running in VMware & Active Directory DNS. Management wants to transition from developers running docker-compose on their Macbooks to standalone K8s running on CentOS VMs in the VMware datacenter. Http microservices, databases, etc need to still be accessible remotely via each developer's wildcard DNS url. Would like for K8s API/dashboard to be remotely accessible as well. Started off with minikube using none driver and couldn't solve the non-root permissions issue. Tried using the docker driver and couldn't figure out how to have K8s use the host IP address instead of a 172.x.x.x address. Moved on to kubeadm and have K8s standalone working without root access but can't find/figure out an ingress-conroller that works on port 80. Would like to stick with Traefik if possible Per management, cloud solutions and services are not an allowed option. |
Not sure what's changed from 1.11.0 and 12.1 but tonight when I nuked the kubeadm cluster and setup minikube again it mostly worked:
That hadn't worked before because it was trying to read the certs in the /root/ directory. However, now when I try to enable the dashboard I am getting access denied:
To enable the dashboard I have to run |
Of course. My issue is much harder than covered by that guide :) For example, it can't be reproduced locally. I left this comment to remove |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle rotten |
Hi! I am stuck at 'pkg/minikube/bootstrapper/bsutil/files.go' line 56 The only idea i have at the moment would be to do it like this: |
@Git-Jiro - That's the best idea I have as well, unfortunately. I would start with that approach. |
@tstromberg related question, since some automated tests are failing: |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
If this is a bug report, please include:
I tried starting minikube with the following command
minikube start --vm-driver=none
after downloading minikube v0.34.1 from this command
curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.34.1/minikube-linux-amd64 && chmod +x minikube && sudo cp minikube /usr/local/bin/ && rm minikube
I got the output that minikube crashed
I am on ubuntu 18.04LTS machine
The text was updated successfully, but these errors were encountered: