Kubernetes check

Container has no memory limit

K8S-RES-004HighResource management

Trigger condition

A container definition does not set resources.limits.memory.

Evidence

Identifies the container and its image, and states that resources.limits.memory is not set.

Impact

Without a memory limit the container can consume unbounded memory, risking node-level out-of-memory conditions that can evict or kill unrelated workloads.

Recommendation

Set resources.limits.memory to cap worst-case memory usage.

← Back to the check catalogue