fixing test script, add 2 replicas and fixed 404 error
This commit is contained in:
Родитель
b67785ade1
Коммит
38adf43456
|
@ -6,7 +6,7 @@ tlsSecretName: ""
|
|||
appHostName: ""
|
||||
basePath: "/easyauth"
|
||||
|
||||
replicaCount: 1
|
||||
replicaCount: 2
|
||||
|
||||
image:
|
||||
repository: lesterjt/easyauthfork8s
|
||||
|
|
|
@ -18,7 +18,7 @@ spec:
|
|||
- host: {{APP_HOSTNAME}}
|
||||
http:
|
||||
paths:
|
||||
- path: /(.*)
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
|
|
3
test.sh
3
test.sh
|
@ -54,7 +54,8 @@ bash ./main.sh -a $A -c $C -r $R -e $E -l $L -t $T -s $S -z $Z -g
|
|||
|
||||
APP_NAME="$A.$L.cloudapp.azure.com"
|
||||
WEBPAGE=https://$APP_NAME
|
||||
echo "Grabbed homepage: " $WEBPAGE
|
||||
echo "Grabbed homepage: " $WEBPAGE ". Sleeping for 10 seconds..."
|
||||
sleep 10
|
||||
RESPONSE_CODE=$(curl -s -o /dev/null -w "%{http_code}" $WEBPAGE)
|
||||
echo "response code: " $RESPONSE_CODE
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче