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 and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store