JAEN

Kubernetes

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

Pod stuck in CrashLoopBackOff
1
Check pod status and restart count
See the whole flow →
502/504 through the Ingress
3
Confirm backend pods are running
See the whole flow →

Related commands

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