From the course: Certified Kubernetes Administrator (CKA) Cert Prep (2024)
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Understanding LimitRange and quota - Kubernetes Tutorial
From the course: Certified Kubernetes Administrator (CKA) Cert Prep (2024)
Understanding LimitRange and quota
- In this video, we are going to explore LimitRange and Quota. So, what is LimitRange? Well, LimitRange is an API object that limits resource usage per container or pod within a namespace. It uses three relevant options where type specifies whether it applies to pods or containers, defaultRequest is the default resources application that will request, and default is the maximum resource that the application can use. Then there's Quota. Quota is an API object that limits total resources that are available within the namespace. If a namespace is configured with Quota, applications in that namespace must be configured with resource settings in pod.spec.containers.resources. Now, while the goal of the LimitRange is to set default restrictions for each application running in a namespace, the goal of Quota is to define the maximum resources that can be consumed within a namespace by all of the applications. In the next videos, I'll show you how to use both of these.
Contents
-
-
-
-
-
-
-
-
-
-
(Locked)
Learning objectives42s
-
(Locked)
Exploring the scheduling process1m 2s
-
(Locked)
Setting node preferences3m 9s
-
(Locked)
Managing affinity and anti-affinity rules9m 44s
-
(Locked)
Managing taints and tolerations8m 29s
-
(Locked)
Understanding LimitRange and quota1m 12s
-
(Locked)
Configuring resource limits and requests5m 16s
-
(Locked)
Configuring LimitRange3m 21s
-
(Locked)
Lesson 8 lab: Configuring taints36s
-
(Locked)
Lesson 8 lab solution: Configuring taints4m 42s
-
(Locked)
-
-
-
-
-
-