Section: Namespaces and Basic Resource Listing

Get one pod

bash
bash
kubectl get pod web-abc123 -n payments
Explanation

Inspect a single pod quickly.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Namespaces and Basic Resource Listing
List pods with extra columns
Show node, IP, and extra details.
OpenIn sheetbashsame section
List namespaces
Show all namespaces.
OpenIn sheetbashsame section
List common resources in a namespace
List common workload and service objects.
OpenIn sheetbashsame section
Describe pod
View events, status, probes, mounts, and conditions.
OpenIn sheetbashsame section
Create namespace
Create a namespace imperatively.
OpenIn sheetbashsame section
Delete namespace
Delete a namespace and the resources in it.
OpenIn sheetbashsame section