Docker and CI/CD · Middle · Question 66 of 75
Resource requests vs limits in Kubernetes: what do they do?
- 1Requests cap usage; limits are used for scheduling
- ✓Correct answer: Requests are used for scheduling; limits cap usage
- 3Both only affect how the dashboard shows usage
Explanation
The scheduler places pods by requests. Exceeding a memory limit gets the container OOM-killed; exceeding a CPU limit throttles it.