Closed kikobg closed 5 years ago
Hello, I have the same problem macOS 10.13.6 no VPN enabled:
./minikube start --cpus 4 --memory 4096 --disk-size 40g
😄 minikube v0.34.1 on darwin (amd64)
🔥 Creating virtualbox VM (CPUs=4, Memory=4096MB, Disk=40000MB) ...
📶 "minikube" IP address is 192.168.99.103
🐳 Configuring Docker as the container runtime ...
✨ Preparing Kubernetes environment ...
🚜 Pulling images required by Kubernetes v1.13.3 ...
🚀 Launching Kubernetes v1.13.3 using kubeadm ...
🔑 Configuring cluster permissions ...
💣 Error starting cluster: timed out waiting to elevate kube-system RBAC privileges: creating clusterrolebinding: Post https://192.168.99.103:8443/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings?timeout=1m0s: dial tcp 192.168.99.103:8443: connect: network is unreachable
Regards, Thomas
I was fighting this problem for a couple weeks and just realized it was a problem with virtualbox. I just ran a brew cask reinstall virtualbox and now minikube works again.
I managed to get it working setting the NO_PROXY Env as of this link: https://github.com/kubernetes/minikube/blob/master/docs/http_proxy.md
minikube start --docker-env HTTPS_PROXY=proxy.yourdomain.com:8080 --docker-env HTTP_PROXY=proxy.yourdomain.com:8080 --docker-env NO_PROXY=localhost,127.0.0.1,10.96.0.0/12,192.168.99.1/24
My solution was to get rid of my host environment variables specifying the http/https proxy and then run it with the command dorvak mentioned
This issue no longer occurs with minikube v0.35.0 (the error messages are quite different now).
Had the same problem, with this message: "timed out waiting to elevate kube-system RBAC privileges: Post: Service Unavailable". MacOS Mojave 10.14.5 with VirtualBox VM 6.0.8. minikube v1.1.0 Turning off the VPN Software (Cisco Anyconnect Secure Mobility client) and rebooting solved the problem.
Had the same problem, with this message: "timed out waiting to elevate kube-system RBAC privileges: Post: Service Unavailable". MacOS Mojave 10.14.5 with VirtualBox VM 6.0.8. minikube v1.1.0 Turning off the VPN Software (Cisco Anyconnect Secure Mobility client) and rebooting solved the problem.
I struggled with this too, rebooting and not starting VPN was key.
On Mac OS X Mojave 10.14.5, using VirtualBox as my VM driver. I had same issue as @lozass and @mitchhf. Also using Anyconnect VPN client. I am able to solve this without a reboot using the following command:
sudo route -n add -net 192.168.99.1/24 -interface vboxnet0
Hello,
I am trying to start local cluster on Windows 10 using minikube( v0.28.2 ). Everything runs fine until the step Starting cluster components... where I stumbled on the following issue:
E0727 15:00:05.218387 15960 start.go:300] Error starting cluster: timed out waiting to elevate kube-system RBAC privileges: creating clusterrolebinding: Post https://192.168.99.100:8443/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings: Service Unavailable
Do you know what might be the reason?
Best regards