BETA Shoulder is in beta — Findings may sometimes be wrong. Your feedback shapes what we fix next. Share feedback

Missing Resource Limits

Description

Detects containers missing resource limits.

What Shoulder detects

Container is missing resource limits.

How to fix

Define resource limits for containers.

```yaml
resources:
  limits:
    memory: "256Mi"
    cpu: "500m"
```

Learn more: https://shoulder.dev/learn/kubernetes/cwe-400/missing-resource-limits

Applies to

Languages

Frameworks

kubernetes

References

Scan for this issue

Detect with Shoulder CLI
npx @shoulderdev/cli trust --rule=kubernetes-missing-resource-limits .

Real-world examples

Known CVEs in the Resource Exhaustion vulnerability class that this rule helps detect.

Related rules