CPU and memory resources should have a limit set for every container or a namespace to prevent resource exhaustion.
- Not Configurable
- CronJob
- DaemonSet
- Deployment
- Job
- Pod
- ReplicaSet
- StatefulSet
- If
resources.limits.memory
is set. - If
resources.limits.cpu
is set.
If any of the above two checks fail, the resource is denied from being deployed in the cluster.