Kubernetes check

Container has no CPU request

K8S-RES-001MediumResource management

Trigger condition

A container definition does not set resources.requests.cpu.

Evidence

Identifies the container and its image, and states that resources.requests.cpu is not set.

Impact

Without a CPU request the scheduler cannot reserve capacity for the container, increasing the risk of CPU contention with other workloads on the same node.

Recommendation

Set resources.requests.cpu based on observed usage.

← Back to the check catalogue