Validating editor for Autoscaler configuration.
Home
·
Scaler component
·
Poller component
·
Forwarder component
·
Terraform configuration
·
Monitoring
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, you can paste the configmap into the editor, and it will be converted to JSON for editing and validation.
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/
The JSON and YAML configurations can also be validated using the command line:
npm install
npm run validateConfigFile -- path/to/config_file