Post details
When running Kubernetes on a cloud provider, rather than locally using minikube, it’s useful to know which node a pod is running on. The normal command to list pods doesn’t contain this information: $ kubectl get pod NAME READY STATUS RESTARTS AGE neo4j-core-0 1/1 Running 0 6m neo4j-core-1 1/1 Running 0 6m neo4j-core-2 1/1 Running 0 2m I spent a while searching for a command that I could use before I came across Ta-Ching Chen’s blog post while looking for something else.
![](https://www.markhneedham.com/blog//me.jpg)