kubectl get pods
SafeList pods
kubectl get pods -A
Lists pod status; -A spans all namespaces, -o wide shows nodes.
Examples
kubectl get pods -AAll pods, all namespaces
Syntax
kubectl get pods [-n <ns>] [-A] [-o wide]
Before you run it
Read-only.
Used when you see
Related commands
- kubectl describeDescribe resource/events
- kubectl logsPod logs
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store