Skip to content

Latest commit

 

History

History
66 lines (53 loc) · 2.29 KB

README.md

File metadata and controls

66 lines (53 loc) · 2.29 KB

Autoscaler tool for Cloud Spanner

Autoscaler

Set up the Autoscaler using Terraform configuration files
Home · Scaler component · Poller component · Forwarder component · Terraform configuration · Monitoring
Cloud Functions · Google Kubernetes Engine

Table of Contents

Overview

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 Functions: Autoscaler components are deployed to Cloud 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 Functions model described above.

Monitoring

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.