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 - Kubernetes Tutorial
From the course: Kubernetes Essential Training: Application Development
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
Ensuring availability with liveness and readiness probes12m 28s
-
(Locked)
Managing resource usage with requests and limits9m 2s
-
(Locked)
The scheduler and influencing container placement7m 41s
-
(Locked)
Node affinity and anti-affinity5m 29s
-
(Locked)
The Horizontal Pod Autoscaler (HPA)10m 45s
-
(Locked)
Providing configuration with ConfigMaps8m 40s
-
(Locked)
Supplying sensitive data with Secrets3m 44s
-
(Locked)
Keeping secure with network policies5m 21s
-
(Locked)
Role-based access control in Kubernetes2m 18s
-
(Locked)
Working with RBAC5m 46s
-
-
-
-