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 nameAnyone 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
- kubeadm — The official Kubernetes tool for creating and upgrading clusters, which runs the control plane as static pods.
- kubelet — The agent on every Kubernetes node that starts and watches the node's containers and reports back to the API server.
- API server — The Kubernetes control plane component that serves the Kubernetes API; every read and change to the cluster goes through it.
- control plane — The set of programs that store the cluster's objects and make its decisions: etcd, the API server, the scheduler and the controller manager.
- hostPath volume — A Kubernetes volume that mounts a directory from the node's own file system into a pod.
- persistence — Anything an attacker sets up so their access survives reboots, logoffs and password changes, such as a scheduled task or a new key.
Taught in
- Node NotReady: Kubelet, Runtime And Certificates — Certified Kubernetes Administrator (CKA) Exam Prep
- When A Control Plane Pod Breaks — Certified Kubernetes Administrator (CKA) Exam Prep
- Four Faults, Twelve Minutes — Certified Kubernetes Administrator (CKA) Exam Prep
- Preparing A Node Before kubeadm Will Touch It — Certified Kubernetes Administrator (CKA) Exam Prep
- kubeadm init And join: What Lands Where — Certified Kubernetes Administrator (CKA) Exam Prep
- Upgrades In The Only Order That Works — Certified Kubernetes Administrator (CKA) Exam Prep
- etcd: Snapshot, Restore, And The Cache That Lies — Certified Kubernetes Administrator (CKA) Exam Prep
- Security Landing Zones & Centralized Egress Inspection — Cloud Security & DevSecOps Engineering
- Securing the Kubernetes Control Plane & Node Components — Cloud Security & DevSecOps Engineering
- Control Plane: etcd, API Server, Scheduler, Controllers — Kubernetes: Production-Grade Container Orchestration
- Detecting Persistence: Tasks, Registry & Services — Security Operations & Threat Hunting (SOC)