minikube does not start up properly anymore

Created on 23 Nov 2016  路  10Comments  路  Source: kubernetes/minikube

BUG REPORT

Minikube does not display dashboard anymore.

I am a beginner with minikube / kubernetes. I have tried to setup a service and messed it up. Then I have deleted the VM and tried to restart. The kubernetes dashbord does not start any more.

I started minikube with

minikube start --network-plugin=cni --container-runtime=rkt --iso-url=http://storage.googleapis.com/minikube/iso/buildroot/minikube-v0.0.6.iso

I also tried to start without parameters, but the same issue.

extract of minikube logs:

I1123 10:00:44.895950    3354 controller.go:105] Found 0 scheduledjobs
I1123 10:00:44.896839    3354 controller.go:113] Found 0 jobs
I1123 10:00:44.896850    3354 controller.go:116] Found 0 groups
E1123 10:00:53.455580    3354 kubelet.go:2132] Failed to check if disk space is available on the root partition: could not determine capacity for "root" fs. Info: {Usage:0 Capacity:0 Available:0 Timestamp:2016-11-23 10:00:53.455560196 +0000 UTC}

server stdout:
auswahl_044

Minikube version: v0.12.2
Environment:

What I already tried:

  • Delete vm
  • minikube delete
  • Delete the .kube and .minikube folders

The minikube log error message inicated that there was no space on the root partition. I attached a screenshot of the vbox machine that shows that there should be enough space.
minikube

kinbug

Most helpful comment

minikube dashboard says:

joerg@joergpfruendersThinkpad:~/ideaprojects/ep2/docker/kubernetes$ minikube dashboard
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Could not find finalized endpoint being pointed to by kubernetes-dashboard: Temporary Error: endpoints "kubernetes-dashboard" not found
Temporary Error: endpoints "kubernetes-dashboard" not found
Temporary Error: endpoints "kubernetes-dashboard" not found
Temporary Error: endpoints "kubernetes-dashboard" not found
Temporary Error: endpoints "kubernetes-dashboard" not found
Temporary Error: endpoints "kubernetes-dashboard" not found
Temporary Error: endpoints "kubernetes-dashboard" not found
Temporary Error: endpoints "kubernetes-dashboard" not found
Temporary Error: endpoints "kubernetes-dashboard" not found
Temporary Error: endpoints "kubernetes-dashboard" not found
Temporary Error: endpoints "kubernetes-dashboard" not found
Temporary Error: Endpoint for service is not ready yet
Temporary Error: Endpoint for service is not ready yet
Temporary Error: Endpoint for service is not ready yet
Temporary Error: Endpoint for service is not ready yet
Temporary Error: Endpoint for service is not ready yet
Temporary Error: Endpoint for service is not ready yet
Temporary Error: Endpoint for service is not ready yet
Temporary Error: Endpoint for service is not ready yet
Temporary Error: Endpoint for service is not ready yet

All 10 comments

minikube dashboard says:

joerg@joergpfruendersThinkpad:~/ideaprojects/ep2/docker/kubernetes$ minikube dashboard
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Waiting, endpoint for service is not ready yet...
Could not find finalized endpoint being pointed to by kubernetes-dashboard: Temporary Error: endpoints "kubernetes-dashboard" not found
Temporary Error: endpoints "kubernetes-dashboard" not found
Temporary Error: endpoints "kubernetes-dashboard" not found
Temporary Error: endpoints "kubernetes-dashboard" not found
Temporary Error: endpoints "kubernetes-dashboard" not found
Temporary Error: endpoints "kubernetes-dashboard" not found
Temporary Error: endpoints "kubernetes-dashboard" not found
Temporary Error: endpoints "kubernetes-dashboard" not found
Temporary Error: endpoints "kubernetes-dashboard" not found
Temporary Error: endpoints "kubernetes-dashboard" not found
Temporary Error: endpoints "kubernetes-dashboard" not found
Temporary Error: Endpoint for service is not ready yet
Temporary Error: Endpoint for service is not ready yet
Temporary Error: Endpoint for service is not ready yet
Temporary Error: Endpoint for service is not ready yet
Temporary Error: Endpoint for service is not ready yet
Temporary Error: Endpoint for service is not ready yet
Temporary Error: Endpoint for service is not ready yet
Temporary Error: Endpoint for service is not ready yet
Temporary Error: Endpoint for service is not ready yet

Can you do a kubectl describe rc kubernetes-dashboard --namespace=kube-system and kubectl logs on the corresponding pods?

Like magically the dashboard now runs again...
I don't know why.

$ kubectl describe rc kubernetes-dashboard --namespace=kube-system

Name:       kubernetes-dashboard
Namespace:  kube-system
Image(s):   gcr.io/google_containers/kubernetes-dashboard-amd64:v1.4.2
Selector:   app=kubernetes-dashboard,kubernetes.io/cluster-service=true,version=v1.4.2
Labels:     app=kubernetes-dashboard
        kubernetes.io/cluster-service=true
        version=v1.4.2
Replicas:   1 current / 1 desired
Pods Status:    1 Running / 0 Waiting / 0 Succeeded / 0 Failed
No volumes.
No events.

On the dashboard I can see three pods:

image

On the dashboard I can only see the logs from today where everything seems fine.
The command line shows no logs:

$ kubectl logs kubernetes-dashboard-2f06w

Error from server: pods "kubernetes-dashboard-2f06w" not found

Thank you for your support. I am sorry that I can not reproduce the bad situation.

Likely, it takes a couple of minutes to bring up the dashboard services (Might be resources CPU/Mem not released from previous installation/uninstallation instantly). Thanks to @r2d4 (R2-D2) for sharing the command that helped in understanding and having patience while dashboard boots up.

Shoaibs-MacBook-Pro:minikube-Kubernette imsrk$ kubectl describe rc kubernetes-dashboard --namespace=kube-system
Name: kubernetes-dashboard
Namespace: kube-system
Image(s): gcr.io/google_containers/kubernetes-dashboard-amd64:v1.5.0
Selector: app=kubernetes-dashboard,kubernetes.io/cluster-service=true,version=v1.5.0
Labels: app=kubernetes-dashboard
kubernetes.io/cluster-service=true
kubernetes.io/minikube-addons=dashboard
version=v1.5.0
Replicas: 1 current / 1 desired
Pods Status: 0 Running / 1 Waiting / 0 Succeeded / 0 Failed
No volumes.
Events:
FirstSeen LastSeen Count From SubobjectPath Type Reason Message
--------- -------- ----- ---- ------------- -------- ------ -------
31s 31s 1 {replication-controller } Normal SuccessfulCreate Created pod: kubernetes-dashboard-9oasz

I'ver reproduced this. It happens when you have other docker containers running e.g. via docker-compose

I take that back, it seems to be working again, despite using docker-compose.

I have the same issue, how did you solve yours?

Edit: I ended up starting a 1.9 instead of 1.8 and it worked

@joan38: Interesting, I am currently having this issue in 1.8.0 as well. Is this version just no longer supported by minikube? Kind of frustrated by this as I'm required to maintain compatibility with this version as it matches our GKE deployments.

I am still facing this issue. Please help.

2

the solution here
https://github.com/kubernetes/minikube/issues/2755#issuecomment-385624552
fixed both the dashboard and the issue described in 2755 for me.

minikube version: v0.27.0

kubectl version
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.2", GitCommit:"81753b10df112992bf51bbc2c2f85208aad78335", GitTreeState:"clean", BuildDate:"2018-04-27T09:22:21Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.0", GitCommit:"fc32d2f3698e36b93322a3465f63a14e9f0eaead", GitTreeState:"clean", BuildDate:"2018-03-26T16:44:10Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

Was this page helpful?
0 / 5 - 0 ratings