Study. uk . com
  1. Home
  2. All questions
  3. Question 177

CKA study material · question 177 of 1000

How does the runtime treat a container that exceeds its limits? Choose two.

  1. Exceeding a CPU limit terminates the container
  2. Exceeding a memory limit terminates the container as OOMKilled
  3. Exceeding a memory limit only logs a warning
  4. Exceeding a CPU limit throttles the container rather than terminating it
Show the answer

Answer: B. Exceeding a memory limit terminates the container as OOMKilled
D. Exceeding a CPU limit throttles the container rather than terminating it

Memory over its limit is killed with reason OOMKilled and exit code 137; CPU is throttled, never terminated.

Source: Resource Management for Pods and Containers (Kubernetes) — Troubleshooting

Challenge yourself on this topic → Study as cards