concept
Selectors and output formats
Label and supported field selectors narrow object lists; output flags format returned data. Running phase is distinct from readiness. Namespace scoping and explicit structured fields make inspection more predictable.
Formal Syntax & Structure
kubernetes syntaxkubernetes
Selectors and output formatsWorking Example
Example Snippetkubernetes
kubectl --kubeconfig ./lab.kubeconfig --context bytemind-lab -n book-lab get pods -l app=catalog --field-selector status.phase=Running -o json