static pod

A pod the kubelet runs directly from a manifest file on the node, without going through the API server.

In more detail

Editing the file restarts the pod, so a typo can take the API server down. Back up manifests outside the manifests directory, because the kubelet reads every file in it.

Examples

kubectl -n kube-system get pod -l component=etcd -o name
Anyone who can write to a node's static pod directory, for example through a hostPath mount, can run a pod that the API server cannot delete.

Related terms

Taught in

References

Certification courses