turbinia
turbinia copied to clipboard
Scale GKE nodes in addition to pods
Currently we scale on pods, but it would be nice to scale on nodes as well.
FYI @wajihyassine
Briefely tested this while I was building out the Celery/Redis k8s scripts and it seemed fine ,just need to run a few tests to confirm but changes should hopefully be minor. Will assign to add this in sometime when the Celery/Redis k8s deployment is merged.
GKE autoscaling docs: https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-autoscaler
Would just need to add in --enable-autoscaling --min-nodes=1 --max-nodes=MAX
then adjust .clusterconfig
accepting a minimum node and maximum node assuming no other problems