node pressure
A node condition reporting that it is running short of memory, disk or process IDs, which leads to taints and evictions.
In more detail
The kubelet sets conditions such as MemoryPressure when free resources fall below eviction thresholds. The node is then tainted so no new pods arrive, and the kubelet evicts pods until pressure clears. Raising one pod's memory limit can make node pressure worse, not better.
Example
kubectl describe node node-aRelated terms
- eviction — Removing a running pod from its node, either through the API during maintenance or by the kubelet when the node runs short of resources.
- node condition — A named fact the kubelet reports about its node, such as Ready, MemoryPressure or DiskPressure, each true or false with a reason.
- taint — A mark on a node that repels pods which do not tolerate it, used to reserve nodes or keep work off unhealthy ones.
- memory limit — The most memory a container may use before the kernel kills a process inside it.
Taught in
- Requests, Limits, Quotas And Horizontal Autoscaling — Kubernetes: Production-Grade Container Orchestration
- Troubleshooting: OOMKilled, Throttling And Evictions — Kubernetes: Production-Grade Container Orchestration
- Troubleshooting: NotReady Nodes And kubelet Logs — Kubernetes: Production-Grade Container Orchestration