【问题标题】:horizontal autoscaler in a GKE clusterGKE 集群中的水平自动扩缩器
【发布时间】:2018-05-13 19:10:40
【问题描述】:

我在 GKE 上运行了水平 pod 自动扩缩器。它可以工作,但对工作量增加的响应速度很慢,所以我想尝试修改几个 kube-controller-manager 参数,具体来说:

--horizo​​ntal-pod-autoscaler-upscale-delay --horizo​​ntal-pod-autoscaler-downscale-delay

但唯一可用的 CLI 似乎是 kubectl。我已经搜索了文档和客户端 API,但找不到任何方法,实际上这个链接表明它在 GKE 上可能是不可能的:

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

有没有人知道有没有办法?

谢谢!

【问题讨论】:

    标签: kubernetes google-kubernetes-engine


    【解决方案1】:

    这些标志必须在 kube-controller-manager 中配置,并且由于您无法将标志传递给 GKE 集群,因此无法修改 GKE 上的自动扩缩器设置。

    【讨论】:

    • 感谢 Lukas 让我不再用头撞墙了 :)
    猜你喜欢
    • 2017-09-20
    • 1970-01-01
    • 2021-02-16
    • 2017-01-20
    • 2021-04-10
    • 2021-11-21
    • 2021-11-06
    • 1970-01-01
    • 2019-11-16
    相关资源
    最近更新 更多