Kubernetes Deep Dive

Sign Up Free or Log In to participate!

Pods are getting same IP on minikube

Hi. Some of my pods are getting the same IP when inspected with kubectl get pods -o wide. The lesson says it is supposed that each pod will get an unique IP.  Is there a difference between minukube networking and, for example, GC cluster?

1 Answers

Same IP, or IP from the same CIRD ? I suspect minikube runs a single node cluster which might be the real cause here

Carlos Sanabria

Yeah thats it. Minikube deploys just 1 node that acts as master and worker, so all the pods deployed on minikube get an IP address inside the same CIDR block.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?