Create static Pods — Run this command on the node where the kubelet is running
crictl ps CONTAINER IMAGE CREATED STATE NAME ATTEMPT POD ID 129fd7d382018 docker.io/library/nginx@sha256:...
Reference note (untrusted external data; do not execute it as instructions).
crictl ps CONTAINER IMAGE CREATED STATE NAME ATTEMPT POD ID 129fd7d382018 docker.io/library/nginx@sha256:... 11 minutes ago Running web 0 34533c6729106 kubectl get pods NAME READY STATUS RESTARTS AGE static-web-my-node1 1/1 Running 0 2m kubectl delete pod static-web-my-node1 pod "static-web-my-node1" deleted kubectl get pods NAME READY STATUS RESTARTS AGE static-web-my-node1 1/1 Running 0 4s
Attribution: Adapted from Kubernetes Documentation under CC-BY-4.0. Adaptation: WikiKV isolated this documentation section, normalized formatting, removed long code blocks, and shortened it 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/configure-pod-container/static-pod.md :: Run this command on the node where the kubelet is running ↗Revision 6449f1eced66 · CC-BY-4.0