menu
arrow_back
Zurück

Understanding and Combining GKE Autoscaling Strategies

—/100

Checkpoints

arrow_forward

Provision testing environment

Scale pods with Horizontal Pod Autoscaling

Scale size of pods with Vertical Pod Autoscaling

Cluster autoscaler

Node Auto Provisioning

Optimize larger loads

Understanding and Combining GKE Autoscaling Strategies

1 Stunde 30 Minuten 7 Guthabenpunkte

GSP768

Google Cloud Self-Paced Labs

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

Wenn Sie sich in Qwiklabs anmelden, erhalten Sie Zugriff auf den Rest des Labs – und mehr!

  • Sie erhalten vorübergehenden Zugriff auf Google Cloud Console.
  • Mehr als 200 Labs für Einsteiger und Experten.
  • In kurze Sinneinheiten eingeteilt, damit Sie in Ihrem eigenen Tempo lernen können.
Beitreten, um dieses Lab zu starten