Command
kubectl get pods
Explanation
Displays all pods running in the current Kubernetes namespace.
Examples
List pods in default namespace
kubectl get pods
List pods in kube-system
kubectl get pods -n kube-system
kubectl get pods
Displays all pods running in the current Kubernetes namespace.
List pods in default namespace
kubectl get pods
List pods in kube-system
kubectl get pods -n kube-system