gpt4 book ai didi

kubernetes - Kubernetes HPA节点删除宽限期

转载 作者:行者123 更新时间:2023-12-02 12:18:12 25 4
gpt4 key购买 nike

我正在使用Kubernetes HPA扩展集群。我设置的 objective-c PU利用率是50%。它正在按比例放大。但是,当负载减少并且它迅速缩小时。我想设定一个冷却时间。例如,即使CPU利用率低于50%,它也应等待60秒才能终止节点。

我已经检查了这篇文章,但这并不是说我可以更改HPA中的默认值https://kubernetes.io/docs/concepts/workloads/pods/pod/index.html#termination-of-pods

Kops版本:-1.9.1

最佳答案

这是在HPA级别配置的:https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-cooldown-delay

--horizontal-pod-autoscaler-downscale-delay: The value for this option is a duration that specifies how long the autoscaler has to wait before another downscale operation can be performed after the current one has completed. The default value is 5 minutes (5m0s).

关于kubernetes - Kubernetes HPA节点删除宽限期,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53981904/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com