turbinia icon indicating copy to clipboard operation
turbinia copied to clipboard

Scale GKE nodes in addition to pods

Open aarontp opened this issue 1 year ago • 3 comments

Currently we scale on pods, but it would be nice to scale on nodes as well.

aarontp avatar Aug 24 '22 19:08 aarontp

FYI @wajihyassine

aarontp avatar Aug 24 '22 19:08 aarontp

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.

wajihyassine avatar Aug 24 '22 21:08 wajihyassine

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

wajihyassine avatar Aug 24 '22 22:08 wajihyassine