rename some images

This commit is contained in:
Torma Kristóf 2019-10-18 23:10:48 +02:00
parent 1cd4e1854c
commit be59126cdd
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
7 changed files with 9 additions and 7 deletions

View File

@ -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 ]]

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"