【发布时间】:2021-07-29 18:50:59
【问题描述】:
我们使用 Openshift 4.x。对于 API,min pods 为 5,max 为 8。水平自动缩放基于 avg. CPU 利用率百分比。属性 haproxy.router.openshift.io/pod-concurrent-connections = '10' --> 将每个 Pod 的连接数限制为 10。如果我们收到更多对 pod 的请求会怎样?它是在队列中等待还是 Pod 水平扩展?
以下是此 API 的 Routes 中的当前配置:
haproxy.router.openshift.io/disable_cookies: 'true' haproxy.router.openshift.io/balance: roundrobin haproxy.router.openshift.io/pod-concurrent-connections: '10' haproxy.router.openshift.io/timeout: 50s
【问题讨论】:
标签: concurrency connection openshift