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

Unable to Run Minikube on Windows 10 with Hyper - v #2042

Closed
VenkateshSrini opened this issue Oct 8, 2017 · 3 comments
Closed

Unable to Run Minikube on Windows 10 with Hyper - v #2042

VenkateshSrini opened this issue Oct 8, 2017 · 3 comments

Comments

@VenkateshSrini
Copy link

VenkateshSrini commented Oct 8, 2017

Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG
I have created an Hyper - V virtual switch and from the network properties I see that it has Internet access. Now go ahead and create a minikube with this virtual machine. It worked till the end where I could see the VM is configured to work with Kubectl. Then when I check the status using
Minikube status I get the following
Minikube running
cluster stopped

Then I typed the command kubectl cluster-info
Kubernetes master is running at https://192.168.0.110:8443
error: group map[certificates.k8s.io:0xc0823c21c0 extensions:0xc0823c2310 storage.k8s.io:0xc0823c2460 federation:0xc0823
0b810 apps:0xc08230bd50 authorization.k8s.io:0xc08230bf10 batch:0xc0823c2150 componentconfig:0xc0823c2230 policy:0xc0823
c2380 rbac.authorization.k8s.io:0xc0823c23f0 :0xc08230bce0 authentication.k8s.io:0xc08230bdc0 autoscaling:0xc08230bf80]
is already registered

Now when I hit the url https://192.168.0.110:8443 I get the output
Site does not exist

Please provide the following details:

Environment:

Minikube version (use minikube version):v0.22.2

  • OS (e.g. from /etc/os-release): Windows 10
  • VM Driver (e.g. cat ~/.minikube/machines/minikube/config.json | grep DriverName): Hyper V (external switch)
  • ISO version (e.g. cat ~/.minikube/machines/minikube/config.json | grep -i ISO or minikube ssh cat /etc/VERSION):0.23.4
  • Install tools:
  • Others:
@hirsim
Copy link
Contributor

hirsim commented Oct 9, 2017

dupe of #1981

The issues is probably resolved in version 0.22.3.
Can you try again with version 0.22.3?

@VenkateshSrini
Copy link
Author

VenkateshSrini commented Oct 10, 2017

Hi,
Now I see that the cluster is also running. I typed the command kubectl cluster-info. The output is as below
Kubernetes master is running at https://192.168.0.111:8443

I tried the command kubectl get pods --all-namespaces. The output is as below

 _NAMESPACE     NAME                          READY     STATUS    RESTARTS   AGE
  kube-system   kube-addon-manager-minikube   1/1       Running   0          19m
 kube-system   kube-dns-1326421443-t6rwc     3/3       Running   0          18m
 kube-system   kubernetes-dashboard-7wcxj    1/1       Running   0          18m_

I tried accessing the URL https://192.168.0.111:8443/api/v1/proxy/names%20paces/kube-system/services/kubernetes-dashboard
I get Unauthorized error.

I tried accessing the url https://192.168.0.111:8443
then also getting unauthorized error.
Please help as I think I'm in the last step of setting up the minikube on my windows 10 machine

@VenkateshSrini
Copy link
Author

Hi,
I found a solution for this

  1. For kubectl related errors we need to download the latest kubectl from google.
  2. For Dashboad issues I tried kubectl dashboard and it worked.

Thanks a ton

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants