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

Cant download kubernetes-version v1.6.4 #1687

Closed
medyagh opened this issue Jul 12, 2017 · 2 comments
Closed

Cant download kubernetes-version v1.6.4 #1687

medyagh opened this issue Jul 12, 2017 · 2 comments
Assignees

Comments

@medyagh
Copy link
Member

medyagh commented Jul 12, 2017

**BUG REPORT **

Minikube version (use minikube version):
tried on both
minikube version: v0.18.0
and
minikube version: v0.20.0

Environment:

  • OS (e.g. from /etc/os-release): Mac Os 10.12.4

  • VM Driver (e.g. cat ~/.minikube/machines/minikube/config.json | grep DriverName):
    "DriverName": "virtualbox",

  • ISO version (e.g. cat ~/.minikube/machines/minikube/config.json | grep -i ISO or minikube ssh cat /etc/VERSION):
    "Boot2DockerURL": "file:///Users/z001r9y/.minikube/cache/iso/minikube-v0.20.0.iso"

  • Install tools:

  • Others:

What happened:
minikube get-k8s-versions says 1.6.4 is available but when I try to download it, I get the following error :

$ minikube start --memory 4096 --kubernetes-version v1.6.4
Starting local Kubernetes cluster...
Starting VM...
SSH-ing files into VM...
Downloading localkube binary
E0712 16:53:51.672753   92371 start.go:144] Error updating cluster:  Error updating localkube from uri: Error attempting to download and cache localkube: failed to download: failed to download to temp file: download failed: 1 error(s) occurred:

What you expected to happen:
To not error.

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

Anything else do we need to know:
it work for 1.6.3 but not for 1.6.4

@r2d4
Copy link
Contributor

r2d4 commented Jul 12, 2017

The default version is v1.6.4, you can use it by just using minikube start --memory 4096.

This is a valid bug that specifying the version break. Since we haven't uploaded the version to the right place.

@r2d4
Copy link
Contributor

r2d4 commented Jul 12, 2017

This should be fixed @medyagh, sorry about that.

You should now be able to use minikube start --kubernetes-version v1.6.4

I've also added a PR that will make this more efficient by not reaching out to the internet to fetch the default versions of localkube. The default version of localkube is already bundled with every minikube.

@r2d4 r2d4 closed this as completed Jul 12, 2017
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