k8wiz
Kubernetes
Hard
Troubleshooting

A container keeps trying to use more CPU than its CPU limit. What happens?

Select your answer:

Show answer and explanation

Answer: The kernel throttles it through the CFS quota and it keeps running

Explanation

CPU is a compressible resource. When a container reaches its CPU limit, the Linux CFS quota throttles it, which shows up as latency, not restarts. Memory is different. A container that goes over its memory limit is killed by the OOM killer and reports the reason OOMKilled.