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

Show progress when downloading images during minikube start #5669

Closed
kubesure opened this issue Oct 20, 2019 · 5 comments
Closed

Show progress when downloading images during minikube start #5669

kubesure opened this issue Oct 20, 2019 · 5 comments
Labels
co/kvm2-driver KVM2 driver related issues kind/support Categorizes issue or PR as a support question. os/linux

Comments

@kubesure
Copy link

The exact command to reproduce the issue:
minikube start --vm-driver=kvm2 --alsologtostderr -v=8

The full output of the command that failed:


minikube-wait-forever.txt

The output of the minikube logs command:

wait-forever-minikube-logs.txt

The operating system version:

Linux dell-Latitude-3400 5.0.0-31-generic #33~18.04.1-Ubuntu SMP Tue Oct 1 10:20:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

@afbjorklund
Copy link
Collaborator

afbjorklund commented Oct 20, 2019

Logs look happy enough, maybe it just took a long time to download all the k8s images ?

k8s.gcr.io/coredns_1.6.2 completed in 1m20.200450506s
k8s.gcr.io/kube-scheduler_v1.16.0 completed in 6m11.137268171s
k8s.gcr.io/kube-apiserver_v1.16.0 completed in 7m20.288675351s

Still missing etcd, which is the biggest image. And there was no more output whatsoever ?

$ ~/.minikube/cache/v1.16.0/kubeadm --kubernetes-version=v1.16.0 config images list
k8s.gcr.io/kube-apiserver:v1.16.0
k8s.gcr.io/kube-controller-manager:v1.16.0
k8s.gcr.io/kube-scheduler:v1.16.0
k8s.gcr.io/kube-proxy:v1.16.0
k8s.gcr.io/pause:3.1
k8s.gcr.io/etcd:3.3.15-0
k8s.gcr.io/coredns:1.6.2

@afbjorklund afbjorklund added co/kvm2-driver KVM2 driver related issues kind/support Categorizes issue or PR as a support question. labels Oct 20, 2019
@kubesure
Copy link
Author

No more output. These are the complete logs after the process completed.

@woodcockjosh
Copy link
Contributor

Also having this problem. It actually never starts for me

minikube start

@priyawadhwa
Copy link

Hey @kubesure, if you run minikube start --download-only it should download the necessary images. Afterwards, when you run minikube start it hopefully won't take forever.

Please let us know if this works, or if you still see some issues!

@priyawadhwa priyawadhwa changed the title Minikube waits forever Show progress when downloading images during minikube start Oct 30, 2019
@kubesure
Copy link
Author

kubesure commented Nov 1, 2019

@priyawadhwa executed minikube start --vm-driver=kvm2 --alsologtostderr -v=8 without executing minikube start --download-only the long wait issue did not occur, this is maybe because I has created a minikube cluster with a none driver and images would have got downloaded.

Also, the CoreDNS issue https://coredns.io/plugins/loop/#troubleshooting did not occur with KVM driver cluster which is cool. In none driver I used sudo minikube start --extra-config=kubelet.resolv-conf=/run/systemd/resolve/resolv.conf to resolve the CrashLoopBackOff.

This issue is resolved.

@kubesure kubesure closed this as completed Nov 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/kvm2-driver KVM2 driver related issues kind/support Categorizes issue or PR as a support question. os/linux
Projects
None yet
Development

No branches or pull requests

4 participants