-
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
Kubernetes v1.7.0: The Service "kube-dns" is invalid: spec.clusterIP: Invalid value: "10.96.0.10": provided IP is not in the valid range. #2280
Comments
@grantnicholas I've been working through this issue for most of the day. The root of the problem is this change. fc105d3 (See the comments on that hash) which breaks the current 0.24.1 release when using From my investigation a few things break from this change. localkube 1.72 (which is installed by minikube 0.24.1) sets The work around is to edit the The permanent fix would be to roll back the fc105d3 change and cut a new release until 1.8 is ready. I've testing compiling and running master and it doesn't suffer from this as it uses the 1.8 localkube. |
1.7.1 - 1.7.5 also broken. |
@thrawn01 thanks very much for detailed investigation, but after your proposed fix I got the following:
|
@amnk @r2d4 mentioned a few other work arounds that might work #2240 (comment) I have not tried any of these myself as the workaround above worked for me. |
@thrawn01 thanks! One of them (using kubeadm) worked for me. |
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. |
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. |
Please provide the following details:
Environment:
Minikube version (use
minikube version
):v0.24.1
cat ~/.minikube/machines/minikube/config.json | grep DriverName
):virtualbox
cat ~/.minikube/machines/minikube/config.json | grep -i ISO
orminikube ssh cat /etc/VERSION
):"Boot2DockerURL": "file:///Users/gnicholas/.minikube/cache/iso/minikube-v0.23.6.iso"
minikube start --kubernetes-version="v1.7.0"
What happened: The exact same issue as in this issue: #2240
What you expected to happen:
Upgrading minikube to
0.24.1
should have resolved the invalid ip issue for kubedns, but it does notHow to reproduce it (as minimally and precisely as possible):
minikube start --kubernetes-version="v1.7.0"
(I have not tested all kubernetes versions, but I have tested
v1.7.0
and it breaks whilev1.8.0
works as intended).Output of
minikube logs
(if applicable):Anything else do we need to know:
@r2d4 Adding you as you resolved the initial issue. Is there a compatability matrix between minikube versions and kubernetes versions that should be documented or is this just a bug?
EDIT: as you suggested previously, a workaround is using
minikube config set bootstrapper kubeadm
.The text was updated successfully, but these errors were encountered: