Set up the Autoscaler using Terraform configuration files
Home
·
Scaler component
·
Poller component
·
Forwarder component
·
Terraform configuration
·
Monitoring
Cloud Run functions
·
Google Kubernetes Engine
This directory contains Terraform configuration files to quickly set up the infrastructure of your Autoscaler.
The Autoscaler can be deployed in two different ways:
-
Deployment to Cloud Run functions: Autoscaler components are deployed to Cloud Run functions, with Pub/Sub used for asynchronous messaging between components. Use this deployment type for serverless operation, for cross-project Autoscaling, and to take maximal advantage of Google Cloud managed services.
-
Deployment to Google Kubernetes Engine (GKE): Autoscaler components are deployed to Google Kubernetes Engine (GKE), with Kubernetes-native constructs used for messaging and configuration. Use this deployment type if you want to use Kubernetes or cannot use the Google Cloud service dependencies in the Cloud Run functions model described above.
The monitoring module is an optional module for monitoring, and creates the following resources.
- Cloud Monitoring Dashboard: a starter dashboard users could deploy to get started. This dashboard has 4 metrics: High CPU utilization, Smoothed CPU utilization, Storage utilization and Processing units.