knative-report/benchmark/classic/wacher.sh

11 lines
266 B
Bash
Raw Normal View History

2019-10-29 13:35:44 +01:00
#!/usr/bin/env bash
time=300
function=hello-kubeless-go-sc
for (( i = 1 ; i <= $time ; i++ )); do
kubectl get deployment | grep $function | awk '{print $2}' | cut -d/ -f1 >> ./data/$function.monitor.csv
echo '\n' >> ./data/$function.monitor.csv
sleep 1
done