In a Pod's container spec, what is the core difference between
resources.requests and resources.limits?- aBoth fields are used only by the kubelet to enforce a hard ceiling on usage at runtime.
- b
requestsare used by the scheduler to find a node with capacity;limitsare enforced by the kubelet at runtime.✓ - c
requestsare enforced by the kubelet as a runtime ceiling;limitsare only used by the scheduler. - d
requestsandlimitsare interchangeable fields with no functional difference.
Explanation:The scheduler reads
requests to decide which node has enough reservable capacity for the Pod. limits are enforced independently by the kubelet/container runtime while the container is running, regardless of which node it landed on.