新增learn-kubernetes(https://github.com/yyong-brs/learn-kubernetes)相关文件
This commit is contained in:
8
learn/learn-kubernetes-master/kiamol/ch14/loadgen.sh
Normal file
8
learn/learn-kubernetes-master/kiamol/ch14/loadgen.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
URL=$(kubectl get svc todo-proxy -o jsonpath='http://{.status.loadBalancer.ingress[0].*}:8015' -n kiamol-ch14-test)
|
||||
|
||||
for i in {1..500}
|
||||
do
|
||||
curl -s "$URL/List" > /dev/null
|
||||
done
|
||||
Reference in New Issue
Block a user