Uses configurations found by Proactive to efficiently scale a microservice application in Kubernetes.
set these environment variables:
WA_EVALUATE_INTERVAL
in secondsWA_EVALUATE_REPORT_PATH
the directory which the report will be saved into, ending with , the file name will beSystemName + - + $(RandomString) + .yml
-
to evaluate while auto-scaling, set
WA_EVALUATE_ENABLE
totrue
(default to true) -
WA_AUTOSCALE_INTERVAL
specifies the monitor interval for autoscaler in seconds
to only evaluate, set the evaluate configs and run
go run main.go devaluate
or
go run main.go eval
pscale
Usage:
pscale [command]
Available Commands:
autoscale autoscale the deployment
evaluate evaluate the deployment
help Help about any command
Flags:
--config string config file
-h, --help help for pscale
Use "pscale [command] --help" for more information about a command.