Sign inSign up

jenner/k8s-scale-keepalive

By jenner

•Updated over 4 years ago

Image
0

72

jenner/k8s-scale-keepalive repository overview

使用golang写的简单web服务,用来验证k8s扩容pod时,长连接请求无法被路由到新扩容的pod上面。

have-tcp-counter, 此tag的web服务添加了MAX_REQUEST环境变量,用来设置长连接请求的最大数量,当MAX_REQUEST不设置时,代码效果与no-tcp-counter一样。

实验的blog地址: https://zn-luo.github.io/k8s/scale-keepalive.html⁠

Tag summary

Content type

Image

Digest

Size

7.4 MB

Last updated

over 4 years ago

docker pull jenner/k8s-scale-keepalive:have-tcp-counter