<p>I have a k8s cluster deployed in AWS's EKS and I want to change horizontal-pod-autoscaler-sync-period from the default 30s value.</p>

<p>How can I change this flag?</p>

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

<p>In order to change/add flags in <a href="https://kubernetes.io/docs/reference/command-line-tools-reference/kube-controller-manager/" rel="nofollow noreferrer">kube-controller-manager</a> - you  should have access to your <code>/etc/kubernetes/manifests/</code> dir on master node and be able to modify parameters in <code>/etc/kubernetes/manifests/kube-controller-manager.yaml</code>.</p>

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

<p>Similar questions:</p>

<p>1) <a href="https://stackoverflow.com/questions/47563575/horizontal-autoscaler-in-a-gke-cluster">horizontal-autoscaler-in-a-gke-cluster</a></p>

<p>2) <a href="https://stackoverflow.com/questions/46317275/change-the-horizontal-pod-autoscaler-sync-period-with-gke">change-the-horizontal-pod-autoscaler-sync-period-with-gke</a></p>

<p>As a workaround you can <a href="https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/" rel="nofollow noreferrer">create cluster using kubeadm init</a> and configure/change it in any way you want.</p>
