Update benchmark.sh
This commit is contained in:
parent
1ad954bbab
commit
a19f99ab96
@ -41,6 +41,14 @@ then
|
|||||||
cp $HOME/go/bin/hey /usr/local/bin
|
cp $HOME/go/bin/hey /usr/local/bin
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
kubectl get pods --all-namespaces| grep Evicted | $(awk '{print "kubectl -n " $1 " delete pod "$2}')
|
||||||
|
kubectl delete -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/provider/baremetal/service-nodeport.yaml
|
||||||
|
kubectl delete -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/mandatory.yaml
|
||||||
|
|
||||||
|
kubectl create -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/mandatory.yaml
|
||||||
|
kubectl create -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/provider/baremetal/service-nodeport.yaml
|
||||||
|
|
||||||
|
|
||||||
echo -e "Benchmarking GET functions\n"
|
echo -e "Benchmarking GET functions\n"
|
||||||
for function in "${functions[@]}"
|
for function in "${functions[@]}"
|
||||||
do
|
do
|
||||||
|
Loading…
Reference in New Issue
Block a user