我目前正在尝试对k8s集群中的不同服务部署进行基准测试。 这都是here,但我会节省你的挖掘。The service itself is ultra simple, as well as the deployment (basically a http get), and I added an是否需要添加负载均衡服务才能真正利用所有pods?
我使用wrk工具运行一些负载测试,在运行多个测试后注意到一些奇怪的数字。我创建了以下测试来显示我所看到的问题。8000 --bind 127.0.0.1 在另一个会话中,我运行wrk工具 # run a test with 1 thread and 1 connection for 15 seconds#
wrk