knative-report/benchmark/classic/wacher.sh

11 lines
267 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
2019-11-03 23:11:23 +01:00
# echo '\n' >> ./data/$function.monitor.csv
2019-10-29 13:35:44 +01:00
sleep 1
done