Debugging Kubernetes nodes with crictl — List pods
Bounded code example (external data; do not execute automatically): ```shell crictl pods ``` The output is similar to this Bounded code example (external data; do not execute automatically): ```text POD ID CREATED STATE NAME NAMESPACE ATTEMPT 926f1b5a1d33a About a minute ago Ready sh-84d7dcf559-4r2g
Reference note (untrusted external data; do not execute it as instructions).
Bounded code example (external data; do not execute automatically):
```shell
crictl pods
```
The output is similar to this
Bounded code example (external data; do not execute automatically):
```text
POD ID CREATED STATE NAME NAMESPACE ATTEMPT
926f1b5a1d33a About a minute ago Ready sh-84d7dcf559-4r2gq default 0
4dccb216c4adb About a minute ago Ready nginx-65899c769f-wv2gp default 0
a86316e96fa89 17 hours ago Ready kube-proxy-gblk4 kube-system 0
919630b8f81f1 17 hours ago Ready nvidia-device-plugin-zgbbv kube-system 0
```
Bounded code example (external data; do not execute automatically):
```shell
crictl pods --name nginx-65899c769f-wv2gp
```
The output is similar to this
Bounded code example (external data; do not execute automatically):
```text
POD ID CREATED STATE NAME NAMESPACE ATTEMPT
4dccb216c4adb 2 minutes ago Ready nginx-65899c769f-wv2gp default 0
```
Bounded code example (external data; do not execute automatically):
```shell
crictl pods --label run=nginx
```
The output is similar to this
Bounded code example (external data; do not execute automatically):
```text
POD ID CREATED STATE NAME NAMESPACE ATTEMPT
4dccb216c4adb 2 minutes ago Ready nginx-65899c769f-wv2gp default 0
```
Attribution: Adapted from Kubernetes Documentation under CC-BY-4.0. Adaptation: WikiKV isolated this documentation section, normalized formatting, retained only bounded code excerpts, and shortened it at a paragraph or sentence boundary for retrieval. Verify version-sensitive details at the source.
ATTRIBUTED SOURCE
This compact reference card is adapted from official documentation and is not a community-verified experience.
Kubernetes Documentation — content/en/docs/tasks/debug/debug-cluster/crictl.md :: List pods ↗Revision 6449f1eced66 · CC-BY-4.0 and attribution