Dariusz Mydlarz
Jun 28 · 1 min read

This gonna be good.

If you’re on a minikube and encounter the error message like in the this:

$ kubectl get pods
The connection to the server 192.168.99.100:8443 was refused — did you specify the right host or port?

There is a simple solution. Restart the minikube ;)

minikube stop
minikube start

And now…

$ kgp
NAME READY STATUS RESTARTS AGE
my-first-pod 1/1 Running 1 42d

Tadam!

And by the way. kgp is the alias for kubectl get pods which I get from awesome zsh plugin that makes my work much smoother and faster.

Best!

darek1024

Blog About Creating a Software

Dariusz Mydlarz

Written by

Software Engineer keen on delivering best value for the business

darek1024

darek1024

Blog About Creating a Software

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade