Update benchmark.sh
This commit is contained in:
		@@ -41,6 +41,14 @@ then
 | 
			
		||||
	cp $HOME/go/bin/hey /usr/local/bin
 | 
			
		||||
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"
 | 
			
		||||
for function in "${functions[@]}"
 | 
			
		||||
do
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user