—/100
Checkpoints
Provision testing environment
/ 20
Scale pods with Horizontal Pod Autoscaling
/ 20
Scale size of pods with Vertical Pod Autoscaling
/ 20
Cluster autoscaler
/ 20
Node Auto Provisioning
/ 10
Optimize larger loads
/ 10
Understanding and Combining GKE Autoscaling Strategies
GSP768
Overview
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
加入 Qwiklabs 即可阅读本实验的剩余内容…以及更多精彩内容!
- 获取对“Google Cloud Console”的临时访问权限。
- 200 多项实验,从入门级实验到高级实验,应有尽有。
- 内容短小精悍,便于您按照自己的节奏进行学习。