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.
The Horizontal Pod Autoscaler (HPA) - Kubernetes Tutorial
From the course: Kubernetes Essential Training: Application Development
The Horizontal Pod Autoscaler (HPA)
- [Instructor] We've seen that deployments can run more than one copy of the same pod definition and like I've said, there's two main reasons why you might want to do that. The first is for redundancy or high availability, which we've seen in the videos on liveness probes and others. The second reason is for scale. You might be in the lucky position of having so many users that one pod just can't cope with the load. Now, you can try to guess how many pods you need but that load might be cyclic over the period of a day or a year or it might be totally unpredictable. Maybe a marketing campaign goes well and you end up on the front page of Reddit. A very powerful feature of Kubernetes is its ability to automatically rescale your deployments based on actual load. So here I've got a copy of the envbin deployment as one pod and we're connected to it. Now, you can notice, I can come down here and I can tell it to use a…
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
-
-
-
-