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

Kubernetes, Hard (Expert), Troubleshooting. https://k8wiz.com/uquiz/a-container-keeps-trying-to-use-more-cpu-than-its-cpu-limit-what-happens

- A. The kernel throttles it through the CFS quota and it keeps running
- B. The container is OOM-killed and restarted
- C. The kubelet evicts the pod from the node
- D. The scheduler moves the pod to a node with more CPU

**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.
