List pods in a namespace
Shows the pods of the namespace with their readiness, status, restart count and age.
kubectl get pods -n defaultEdit the highlighted values, then copy. They are inserted as typed, without shell escaping.
Report an issue (opens in a new tab) wrong command, wrong danger level, typo… (on GitHub)
Adapted from tldr-pages (common/kubectl-get.md), licensed under CC BY 4.0.