<p>I am trying to set up an horizontal pod auto scaling in GKE. No proper documentation found to reduce the --horizontal-pod-autoscaler-sync-period to 5 sec using kube-controller-manager. </p>

<p>In the below link it says there is a possibility of changing the flags:</p>

<p><a href="https://kubernetes.io/docs/reference/command-line-tools-reference/kube-controller-manager/" rel="nofollow noreferrer">https://kubernetes.io/docs/reference/command-line-tools-reference/kube-controller-manager/</a> </p>

<p>Is there any proper implementation steps to this?</p>

<p>You are not able do this on GKE, EKS and other managed clusters.</p>

<p>In order to change/add flags in kube-controller-manager - you should have access to your <code>/etc/kubernetes/manifests/</code> directory on master node and be able to modify parameters in <code>/etc/kubernetes/manifests/kube-controller-manager.yaml</code>.</p>

<p>GKE, EKS and other clusters manages only by their providers without getting you permissions to have access to master nodes.</p>

<p>But you can create cluster with <a href="https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/" rel="noreferrer">kubeadm init</a> and configure/change as you like.</p>
