Kubernetes autoscaler script to manually manage the pods scaling
In order to use, replace all occurrences of "php-apache-manual" with your deployment's name
scaler.py --target-cpu 75 --max-pods 5 --verbose 1
--target-cpu: set the target CPU percentage to maintain
--max-pods: set maximum allowed pods for the deployment
--verbose: set to 1 to view the log output