crictl
A command-line tool that talks to a node's container runtime directly through the Container Runtime Interface, bypassing the API server.
In more detail
It shows what the runtime really has, which helps when the kubelet and the API server disagree or are unreachable. You run it on the node itself; in kind that means docker exec into the node container. It is for inspection, not for managing workloads.
Example
docker exec "$node" crictl ps --name webRelated terms
- Container Runtime Interface — The standard way Kubernetes asks a container runtime on each machine to start and stop containers.
- kubelet — The agent on every Kubernetes node that starts and watches the node's containers and reports back to the API server.
- container runtime — Software that creates and runs containers from images.
Taught in
- When A Control Plane Pod Breaks — Certified Kubernetes Administrator (CKA) Exam Prep
- What A Container Said Before It Died — Certified Kubernetes Administrator (CKA) Exam Prep
- Four Faults, Twelve Minutes — Certified Kubernetes Administrator (CKA) Exam Prep
- etcd: Snapshot, Restore, And The Cache That Lies — Certified Kubernetes Administrator (CKA) Exam Prep
- CNI, CSI, CRI And CRDs: The Plug-In Points — Certified Kubernetes Administrator (CKA) Exam Prep
- Mock Exam: Seventeen Tasks Against The Clock — Certified Kubernetes Administrator (CKA) Exam Prep
- Mock Exam: Seventeen Security Tasks Against The Clock — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Worker Nodes: kubelet, Runtime, CNI And kube-proxy — Kubernetes: Production-Grade Container Orchestration