Categories
Kubernetes

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

This blog post was first published at NTWEEKLY.COM

Leave a Reply

Your email address will not be published. Required fields are marked *