Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error restarting cluster: restarting kube-proxy: waiting for kube-proxy to be up for configmap update: timed out waiting for the condition

I am trying to start a local Kubernetes cluster using minikube start and getting the following error.

Starting local Kubernetes v1.10.0 cluster...
Starting VM...
Getting VM IP address...
Moving files into cluster...
Setting up certs...
Connecting to cluster...
Setting up kubeconfig...
Starting cluster components...
E0912 17:39:12.486830   17689 start.go:305] Error restarting 
cluster:  restarting kube-proxy: waiting for kube-proxy to be 
up for configmap update: timed out waiting for the condition

Any idea how to ensure it starts? I am using VirtualBox and this tutorial. I tried the tip given here but without luck.

Also any specific reason why it takes so long to even reach to this stage? Or is it usually this slow?

like image 682
Saty Avatar asked Sep 12 '18 16:09

Saty


People also ask

What happens if kube-proxy goes down?

kube-proxy runs on every node and is responsible for regulating network traffic between the node and other entities inside and outside the cluster. If kube-proxy stops running for any reason, the node goes into a not ready state.

What mode is kube-proxy running in?

Kube-proxy runs in three modes: userspace, iptables, and ipvs.

What task is kube-proxy responsible for?

kube-proxy is a network proxy that runs on each node in your cluster, implementing part of the Kubernetes Service concept. kube-proxy maintains network rules on nodes. These network rules allow network communication to your Pods from network sessions inside or outside of your cluster.

What does the kube-proxy manage?

Kube-proxy maintains network rules on each Amazon EC2 node. It enables network communication to your pods. Kube-proxy is not deployed to Fargate nodes. For more information, see kube-proxy in the Kubernetes documentation.


1 Answers

following are the points to be remembered while starting minikube for such errors.

1) close the VirtualBox if opened.
2) delete the previous temp files generated.
3) if you are behind the proxy set the proxy.
4) then do the following...

    $ minikube stop
    $ minikube delete  
    $ minikube start
like image 143
Abhishek D K Avatar answered Oct 03 '22 21:10

Abhishek D K