From the course: Certified Kubernetes Application Developer (CKAD) Cert Prep

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Resource requests, limits, and quotas

Resource requests, limits, and quotas

- In this video, we'll explore resource request limits and quota. A resource request is a setting that you can make for containers in a pod to make sure that the container is only scheduled on cluster nodes that meet the resource requests. And you can do that on the container. It's a container property on pod.spec.containers.resources.requests. So the request is a minimal requirement and that's a resource limit. That's a maximum that you want to be able to allocate. So if you want to make sure that your application never gets beyond a certain amount, you use a limit. And you can do so using pod.spec.containers.resources.limit. And notice it's a container property. Related to these properties there are quota. I need to mention them even if you don't have to know about them for CKAD, but quota are restrictions that can be set on a namespace to maximize the availability of resources within that namespace. And that makes it, you can set limits at the quota level as well. On CKAD, you…

Contents