Jty.tan
Jty.tan

Reputation: 868

How do I edit the GKE auto-scaler settings?

I came across this page regarding the kube auto-scaler: https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-the-parameters-to-ca

From this, I can tell that part of the reason why some of my nodes aren't being scaled down, is because they have local-data set on them...

By default, the auto-scaler ignores nodes that have local data. I want to change this to false. However, I can't find instructions anywhere about how to change it.

I can't find any obvious things to edit. There's nothing in kube-system that implies it is about the autoscaler configuration - just the autoscaler status ConfigMap.

Could somebody help please? Thank you!

Upvotes: 0

Views: 399

Answers (1)

coderanger
coderanger

Reputation: 54181

You cannot. The only option the GKE gives is a vague "autoscaling profile" choice between the default and "optimize utilization". You can, however, override it with per-pod annotations.

Upvotes: 2

Related Questions