Skip to content

Latest commit

 

History

History
52 lines (40 loc) · 1.49 KB

File metadata and controls

52 lines (40 loc) · 1.49 KB

OSS Memorystore Cluster Autoscaler

Autoscaler

Validating editor for Autoscaler configuration.
Home · Scaler component · Poller component · Forwarder component · Terraform configuration · Monitoring

Overview

This directory contains a simple web-based autoscaler config file editor that validates that the JSON config is correct - both for JSON syntax errors and that the config has the correct set of parameters and values.

For GKE configurations, a YAML ConfigMap equivalent is displayed below.

While directly editing the YAML configMap for GKE is not supported in this editor, you can paste the configmap into the JSON editor, and it will be converted to JSON for editing and validation, with the equivalent YAML shown below.

Usage

Build the editor and start the HTTP server on port 8080:

npm run start-configeditor-server -- --port 8080

Then browse to http://127.0.0.1:8080/

Command line config validation

The JSON and YAML configurations can also be validated using the command line:

npm install
npm run validate-config-file -- path/to/config_file