Provision testing environment
Scale pods with Horizontal Pod Autoscaling
Scale size of pods with Vertical Pod Autoscaling
Node Auto Provisioning
Optimize larger loads
Understanding and Combining GKE Autoscaling Strategies
Google Kubernetes Engine has horizontal and vertical solutions for automatically scaling your pods as well as your infrastructure. When it comes to cost-optimization, these tools become extremely useful in ensuring that your workloads are being run as efficiently as possible and that you're only paying for what you're using.
In this lab will set up and observe Horizontal Pod Autoscaling and Vertical Pod Autoscaling for pod-level scaling and Cluster Autoscaler (horizontal infrastructure solution) and Node Auto Provisioning (vertical infrastructure solution) for node-level scaling. First you'll use these autoscaling tools to save as many resources as possible and shrink your cluster's size during a period of low demand. Then you will increase the demands of your cluster and observe how autoscaling maintains availability.
What You'll Do
Decrease number of replicas for a Deployment with Horizontal Pod Autoscaler
Decrease CPU request of a Deployment with Vertical Pod Autoscaler
Decrease number of nodes used in cluster with Cluster Autoscaler
Automatically create an optimized node pool for workload with Node Auto Provisioning
Test the autoscaling behavior against a spike in demand
Overprovision your cluster with Pause Pods
Join Qwiklabs to read the rest of this lab...and more!
- Get temporary access to the Google Cloud Console.
- Over 200 labs from beginner to advanced levels.
- Bite-sized so you can learn at your own pace.