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

minikube 0.28 not boot with kubernetes 1.11.0 #2966

Closed
remoe opened this issue Jul 8, 2018 · 3 comments
Closed

minikube 0.28 not boot with kubernetes 1.11.0 #2966

remoe opened this issue Jul 8, 2018 · 3 comments

Comments

@remoe
Copy link

remoe commented Jul 8, 2018

BUG REPORT

Environment:

Minikube version (use minikube version): 0.28

  • OS (e.g. from /etc/os-release): Windows
  • VM Driver (e.g. cat ~/.minikube/machines/minikube/config.json | grep DriverName): hyperv
  • ISO version (e.g. cat ~/.minikube/machines/minikube/config.json | grep -i ISO or minikube ssh cat /etc/VERSION):
  • Install tools:
  • Others:

What happened:
minikube startup

What you expected to happen:
It fails on startup

How to reproduce it (as minimally and precisely as possible):

minikube start --vm-driver=hyperv --kubernetes-version="v1.11.0" --hyperv-virtual-switch="Default Switch" --memory=4096 --alsologtostderr -v 5

Output of minikube logs (if applicable):

Jul 08 13:39:41 minikube kubelet[3263]: E0708 13:39:41.985005    3263 reflector.go:205] k8s.io/kubernetes/pkg/kubelet/config/apiserver.go:47: Failed to list *v1.Pod: Get https://172.31.45.76:8443/api/v1/pods?fieldSelector=spec.nodeName%3Dminikube&limit=500&resourceVersion=0: dial tcp 172.31.45.76:8443: connect: connection refused

Anything else do we need to know:
The api-server does not start because of this error:

error: admission-control and enable-admission-plugins/disable-admission-plugins flags are mutually exclusive

@remoe remoe changed the title minikube 0.28 not work with kubernetes 1.11.0 minikube 0.28 not boot with kubernetes 1.11.0 Jul 8, 2018
@remoe
Copy link
Author

remoe commented Jul 8, 2018

@dlorenc , Is it solved by: 81440fe ?

@aojea
Copy link
Member

aojea commented Jul 12, 2018

I tried minikube with that patch in linux and it solved this issue.

Just for reference for other users, you can obtain the minikube executable, with that patch included, from this links:

https://storage.googleapis.com/minikube-builds/2943/minikube-darwin-amd64
https://storage.googleapis.com/minikube-builds/2943/minikube-linux-amd64
https://storage.googleapis.com/minikube-builds/2943/minikube-windows-amd64.exe

@dlorenc
Copy link
Contributor

dlorenc commented Jul 17, 2018

Fixed in 0.28.11. #2943

@dlorenc dlorenc closed this as completed Jul 17, 2018
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

3 participants