I have a GKE cluster with Apigee hybrid runtime installed. I’d like to be able to scale it down to near zero during non-office hours for cost optimization purposes. I do not need Apigee services to be functional during this period.
I’ve read [1]. However, it’s only scaling to a minimum threshold where the services can still function.
Can I simply set the node pool size to 1 and allow GKE scheduler to do its job?
@grobledo I’m wondering if you could weigh in on why I’m not seeing nodes stay at 0 when scaling down to 0. Running gcloud container clusters resize jqgke --node-pool jqnodes --num-nodes 0 --region us-west1 -q on a cluster at version 1.22.10 will start terminating existing nodes, but 3 others are started and added to the node pool.
Node version
1.22.10-gke.600
Size
Number of nodes: 5 total (0-3 per zone)
Autoscaling: On (0-3 nodes per zone)
Node zones