From the course: Kubernetes Essential Training: Application Development

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Managing resource usage with requests and limits

Managing resource usage with requests and limits - Kubernetes Tutorial

From the course: Kubernetes Essential Training: Application Development

Start my 1-month free trial

Managing resource usage with requests and limits

- [Instructor] An issue you'll encounter on any infrastructure is the so called noisy neighbor problem. This is where one application uses so many resources that others can't get enough. Kubernetes can help protect us against this. It can enforce limits on the maximum amounts of CPU and RAM that any one pod can use. It can also provide guarantees for minimum amounts that will always be available to pods. And maybe that's a better way to think about the problem. By guaranteeing that everything has enough resources, the neighbors can be as noisy as they like, because we know that every pod will have sufficient resources to do what it needs to do. If there are free resources that no one needs, why not use them. So let's take a look at how that works. This is another example of describing your pod to Kubernetes. You specify the amounts it needs to have available. And these are called requests. You specify the maximum amount…

Contents