<p>I want to prevent the Horizontal auto-scaler from scaling down too early.I came across a  doc that mentions we can update <code>/etc/kubernetes/manifests/kube-controller-manager.yaml</code> file on master node and edit this flag <code>--horizontal-pod-autoscaler-downscale-stabilization</code>.
Is it possible for GKE in Google Cloud ?<br />
As far I know we cannot access the master node on GKE.</p>

<p>Per the Kubernetes official documentation [1] tuning the global HPA settings exposed as flags for the <code>kube-controller-manager</code> component.
The flags for the <code>kube-controller-manager</code> are actually read from a configuration tar file when the master is created. The master node is managed by Google and they aren’t configurable by customers, so there’s no way to modify this parameter for now. However, I found this public issue [2].
A feature needs to have a handful of stars and, hopefully, comments from several users about how the feature would be useful, hence, there’s no ETA on implementation. Refer to this document [3].</p>
<p>[1] <a href="https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-cooldown-delay" rel="nofollow noreferrer">https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-cooldown-delay</a></p>
<p>[2] <a href="https://issuetracker.google.com/issues/117897819" rel="nofollow noreferrer">https://issuetracker.google.com/issues/117897819</a></p>
<p>[3] <a href="https://cloud.google.com/support/docs/issue-trackers#feature_requests" rel="nofollow noreferrer">https://cloud.google.com/support/docs/issue-trackers#feature_requests</a></p>
