From the course: Google Cloud Associate Cloud Engineer Cert Prep
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Managing horizontal and vertical autoscaling configurations - Google Cloud Tutorial
From the course: Google Cloud Associate Cloud Engineer Cert Prep
Managing horizontal and vertical autoscaling configurations
- Managing horizontal and vertical auto scaling configurations. So in Kubernetes you can do horizontal and vertical auto scaling. To do horizontal auto scaling, you need a horizontal pod or a scaler object. And this is an example of how you define one. You have here, the, the kind. First of all, it's horizontal pod auto scaler. That's what determines what Kubernetes object you're deploying. And then, we have here where, where this applies to you. So what are we auto scaling? We are, we're saying it's a deployment with the name Nginx, and how do we auto scale it? We want a minimal replicas of one and a maximum of 10. So we'll be scaling the number of pods between one and 10 based on demand. And the trigger for a scaling event will be to target CPU utilization percentage. And we're defined a threshold here is 50%. So if we go above that, we add new pods to the deployment. If we fall a certain amount below that, then it will be removing pods. What about vertical auto scaling? You may…
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Learning objectives37s
-
(Locked)
Viewing current running cluster inventory1m 47s
-
(Locked)
Browsing Docker images and viewing their details in the artifact registry42s
-
(Locked)
Working with node pools2m 22s
-
(Locked)
Working with pods3m 13s
-
(Locked)
Working with services10m 36s
-
(Locked)
Working with stateful applications2m 7s
-
(Locked)
Managing horizontal and vertical autoscaling configurations2m 6s
-
(Locked)
Working with management interfaces52s
-
(Locked)
Questions breakdown6m 20s
-
(Locked)
-
-
-
-
-
-
-