rename some images
This commit is contained in:
parent
1cd4e1854c
commit
be59126cdd
@ -38,11 +38,13 @@ do
|
|||||||
then
|
then
|
||||||
wave_loop=1
|
wave_loop=1
|
||||||
wave_dir_up=true
|
wave_dir_up=true
|
||||||
|
wave_num=1
|
||||||
while [[ $wave_loop -lt $wave_loop_max ]]; do
|
while [[ $wave_loop -lt $wave_loop_max ]]; do
|
||||||
now=$(date '+%Y-%m-%d-%H-%M')
|
now=$(date '+%Y-%m-%d-%H-%M')
|
||||||
echo -e "Connections: $wave_connection"
|
echo -e "Connections: $wave_connection"
|
||||||
echo -e "Running"
|
echo -e "Running"
|
||||||
hey -c $wave_connection -z $wave_time -m POST -o csv -host "$function.kubeless" -D "$function_friendly".body -T "application/json" http://$kuberhost/"$function" > ./data/"$function"."$wave_connection"."$now".wave.csv
|
hey -c $wave_connection -z $wave_time -m POST -o csv -host "$function.kubeless" -D "$function_friendly".body -T "application/json" http://$kuberhost/"$function" > ./data/"$function"."$wave_num".wave.csv
|
||||||
|
wave_num=$((wave_num + 1))
|
||||||
if $wave_dir_up
|
if $wave_dir_up
|
||||||
then
|
then
|
||||||
if [[ $wave_connection -lt $wave_max_conn ]]
|
if [[ $wave_connection -lt $wave_max_conn ]]
|
||||||
|
@ -18,7 +18,7 @@ spec:
|
|||||||
autoscaling.knative.dev/maxScale: "100"
|
autoscaling.knative.dev/maxScale: "100"
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: tormachris/hello-world-py
|
- image: tormachris/hello-world-python
|
||||||
env:
|
env:
|
||||||
- name: TARGET
|
- name: TARGET
|
||||||
value: "Py"
|
value: "Py"
|
||||||
|
@ -12,7 +12,7 @@ spec:
|
|||||||
autoscaling.knative.dev/metric: cpu
|
autoscaling.knative.dev/metric: cpu
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: tormachris/hello-world-py
|
- image: tormachris/hello-world-python
|
||||||
env:
|
env:
|
||||||
- name: TARGET
|
- name: TARGET
|
||||||
value: "Go"
|
value: "Go"
|
||||||
|
@ -18,7 +18,7 @@ spec:
|
|||||||
autoscaling.knative.dev/maxScale: "100"
|
autoscaling.knative.dev/maxScale: "100"
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: tormachris/isprime-py
|
- image: tormachris/isprime-python
|
||||||
env:
|
env:
|
||||||
- name: TARGET
|
- name: TARGET
|
||||||
value: "Py"
|
value: "Py"
|
||||||
|
@ -12,7 +12,7 @@ spec:
|
|||||||
autoscaling.knative.dev/metric: cpu
|
autoscaling.knative.dev/metric: cpu
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: tormachris/isprime-py
|
- image: tormachris/isprime-python
|
||||||
env:
|
env:
|
||||||
- name: TARGET
|
- name: TARGET
|
||||||
value: "Py"
|
value: "Py"
|
||||||
|
@ -7,7 +7,7 @@ spec:
|
|||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: "tormachris/hello-world-py"
|
- image: "tormachris/hello-world-python"
|
||||||
env:
|
env:
|
||||||
- name: TARGET
|
- name: TARGET
|
||||||
value: "Py"
|
value: "Py"
|
||||||
|
@ -7,7 +7,7 @@ spec:
|
|||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: "tormachris/isprime-py"
|
- image: "tormachris/isprime-python"
|
||||||
env:
|
env:
|
||||||
- name: TARGET
|
- name: TARGET
|
||||||
value: "107107"
|
value: "107107"
|
||||||
|
Loading…
Reference in New Issue
Block a user