From the course: Certified Kubernetes Administrator (CKA) Cert Prep (2024)
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Configuring LimitRange - Kubernetes Tutorial
From the course: Certified Kubernetes Administrator (CKA) Cert Prep (2024)
Configuring LimitRange
- In this video, I'll show you how to work with limitrange. It's a simple demo, but yet it's on the slide for you for your convenience. So, let's start with kubectl explain on limitrange.spec, so that you can get an impression of what it's all about. Wow, that's not very exciting. Let's open the limits, and there you can see the different objects that apply. The default, the default requests, the max, the max limit requests, the minimum, as well as the type, which is the type of the resource that this limit applies to. Let's demonstrate how to use all of this. So let's do a kubectl create ns limited to create the namespace that we are going to use for this demo. Next, there is a limitrange.yaml file. It's a pretty simple limitrange, but hey, it doesn't have to be any fancy. So what do we see? We see the limitrange resource being defined, and it sets a default memory, 512 megabyte, default request of 256 megabytes on the…
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)
-
-
-
-
-
-