First, set permissions:
chmod +x /benchmark/checks/run_benchmark.sh
Then, run:
./benchmark/checks/run_benchmark.sh
or to save to file:
./benchmark/checks/run_benchmark.sh | tee benchmark.txt
The benchmark will use the locally installed AEA version!
First remove any old configuration maps and create a new one:
kubectl delete configmap run-benchmark
kubectl create configmap run-benchmark --from-file=run_from_branch.sh
To remove old nodes (auto-restarts new node):
kubectl delete pod NODE_NAME
To completely remove:
kubectl delete deployment benchmark
To deploy:
kubectl apply -f benchmark-deployment.yaml
List pods:
kubectl get pod -o wide
To access NGINX (wait for status: ``):
kubectl port-forward NODE_NAME 8000:80
then
curl localhost:8000 | tee results.txt