-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Kubectl cannot connect to minikube api-server on windows 10 #1943
Comments
I've got the same problem. |
I am still facing this issue in Windows 7 |
Works on my windows 10 laptop by using "https://storage.googleapis.com/minikube-builds/1982/minikube-windows-amd64.exe". Thanks! |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
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. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
in windows 7 in cmd when i type kubectl version i got this error Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.0", GitCom Please help me out!! |
@amansingh2604 have you found solution for your posted problem. I am facing same issue :( |
Env
OS: Windows 10, 64 bit
VM driver: hyperv
Minikube version: v0.22.0
kubectl version: v1.7.0
Steps
Running "minikube start --kubernetes-version="v1.7.0" --vm-driver="hyperv" --hyperv-virtual-switch="My Virtual Switch" --v=7" does not generate ".\kube\config" file, but VM "minikube" started and running in hyperv. can log in as "root" user.
Manually running kubectl config cluster, context and
kubectl config set-cluster minikube --server='https://192.168.1.125' --certificate-authority='C:\Users\xxx.minikube\certs\ca.pem'
kubectl config set-context minikube --cluster=minikube --user='minikube'
kubectl config use-context minikube
kubectl config set-credentials minikube --client-certificate='C:\Users\xxx.minikube\certs\cert.pem' --client-key='C:\Users\xxx.minikube\certs\key.pem'
I tried both secure and "--insecure-skip-tls-verify=true", but still not working.
Command and Error messages
PS C:\Users\xxx> kubectl cluster-info
Kubernetes master is running at https://192.168.1.125
PS C:\Users\xxx> kubectl cluster-info dump Unable to connect to the server: dial tcp 192.168.1.125:443: connectex: No connection could be made because the target machine actively refused it.
Questions:
Thanks!
The text was updated successfully, but these errors were encountered: