Kubectl always blocks on my Mac Pro


#1

Hi there,
I’m discovering this wonderful world of kubernetes and landed in this blog.
I don’t know if this is the right place to ask a technical question but here is it:

when I use kubectl and minikube on my MacPro Retina (i7 mid 2015 - very powerful) I often experiment how the simple “kubectl get pods” gets in Timeout as the process is too heavy for my processor.

if I do: minikube stop and then minikube start, the kubectl get pods works at the very beginning. If I wait some minutes and try the kubectl get commands again it goes in timeout.

I cannot beliecve my Mac Pro isn’t able to process it, so what can it be?


#2

Hi,

can you give us the output of the command: kubectl version ?

Also the version of minikube with : minikube version.


#3

kubectl version

Client Version: version.Info{Major:“1”, Minor:“11”, GitVersion:“v1.11.2”, GitCommit:“bb9ffb1654d4a729bb4cec18ff088eacc153c239”, GitTreeState:“clean”, BuildDate:“2018-08-08T16:30:58Z”, GoVersion:“go1.10.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”}

minikube version
minikube version: v0.28.2


#4

If you can bear this, could you try reinstall minikube?

Also, minikube has different drivers on Mac, please read minikube docs about this.