horizontal autoscaler in a GKE cluster

北城以北 提交于 2019-12-24 02:56:10

问题


I have horizontal pod autoscaler running on GKE. It works but its slow to respond to increases in workload, so I would like to try modifying a couple of the kube-controller-manager parameters, specifically:

--horizontal-pod-autoscaler-upscale-delay --horizontal-pod-autoscaler-downscale-delay

But the only CLI available seems to be kubectl. I have scoured docs and the client API but can find no way to do it, in fact this link suggested it may not be possible on GKE:

change the horizontal-pod-autoscaler-sync-period with gke

Does anyone know if there is a way to do it?

Thank you!


回答1:


These flags must be configured in the kube-controller-manager and since you cannot pass flags to the GKE cluster it is impossible to modify the autoscaler settings on GKE.



来源:https://stackoverflow.com/questions/47563575/horizontal-autoscaler-in-a-gke-cluster

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!