How To View Kubernetes Pods from All Namespaces

This blog post will show you how to view all the pods that are running across all your Kubernetes cluster using a single command.

By default, when you run the get pods command, Kubectl will display all the pods located in the default namespace unless you specify a namespace.

The following Kubectl command will display all the pods accross all your namespaces.

kubectl get pods --all-namespaces

Processing…
Success! You're on the list.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.