Skip to content

List pods across all namespaces

The command to retrieve a list of all pods running across every namespace in the cluster is kubectl get pods -A.^[400-devops__06-Kubernetes__k8s-mysql__README.md]

Usage

Executing this command provides a cluster-wide view of all Pod objects, regardless of their location within the cluster's namespace structure^[400-devops__06-Kubernetes__k8s-mysql__README.md].

kubectl get pods -A

Sources