gpt4 book ai didi

Kubernetes 的 http liveness 探针在 pod 负载过重时失败

转载 作者:行者123 更新时间:2023-12-02 07:44:17 24 4
gpt4 key购买 nike

正如标题所说,当 pod 负载较重时(500+并发,100000 个请求),Kubernetes 的 active 探测总是失败,我给了 pod 更多的 cpu 和内存资源,但它不起作用。

有什么方法可以处理这种情况吗?

谢谢!

最佳答案

根据@Williams Mao,问题已通过增加readinessProbe.timeoutSeconds。

如果应用程序负载巨大,默认的timeoutSeconds: 1可能不够。值得一读:configure-liveness-readiness-probes

关于Kubernetes 的 http liveness 探针在 pod 负载过重时失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52139686/

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