Skip to main content

Kubelet has insufficient PID available (GITA-INC-006)

The Kubelet component from Kubernetes proactively checks nodes' available Process IDs (PIDs) in order to take action whenever such resource is running out, according to a measurement called eviction threshold. This phenomenon is known as PIDPressure.

When a node enters the PIDPressure state, some of its Pods are selected for termination regardless of the PodDisruptionBudget and terminationGracePeriodSeconds values.

If the presence of a Pod termination period is crucial, a custom eviction threshold can be set through the eviction-max-pod-grace-period Kubelet configuration. This is only possible for soft thresholds, specified through the flag --eviction-soft. Hard thresholds, specified through the flag --eviction-hard, do not allow grace periods and terminates Pods immediately.

Eviction configuration for PID can be customized through the pid.available parameter.

For more information, visit the Kubernetes documentation