stackstorm-k8s
stackstorm-k8s copied to clipboard
Usage of horizontalPodAutoscaler on st2runner
This is merely a question that I have started to wonder. We should be able to let st2runner
dynamically scale its pods during load. HorizontalPodAutoscaler makes a lot of sense I believe. What do you think?
I think it's a good idea to provide the option to include a HorizontalPodAutoscaler.
I don't think it should be enabled by default, though, because not everyone would want it to autoscale.
Also, I don't think it'd replace deployments: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/ ..so this issue can remove "instead of deployment" from its title.
excellent idea.. I did create a HPA for an older version of the chart but got some runner weirdness out of stackstorm which on discussion in the slack channel was determined to be a lack of code in the runner to support it. That said I would be interested in having another go at it.. I've included my test hpa.yaml config for you.