Command Details

$ kubectl get pods --all-namespaces

List all pods in all namespaces.

Related Commands

  • $ kubectl get pods --all-namespacesList all pods in all namespaces.
  • $ kubectl get podsecuritypoliciesList all pod security policies in the cluster.