File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 42
42
- /bin/sh
43
43
- -c
44
44
- |
45
- # until REDISCLI_AUTH="$MATCHING_DB_PASSWORD" redis-cli -h match-db --user "$MATCHING_DB_USER" ping; do
46
- until redis-cli -h match-db ping; do
45
+ until REDISCLI_AUTH="$MATCHING_DB_PASSWORD" redis-cli -h "$MATCHING_DB_HOST" --user "$MATCHING_DB_USERNAME" ping; do
47
46
echo "Waiting for Redis to be ready..."
48
47
sleep 1
49
48
done
61
60
value : match-db
62
61
- name : MATCHING_DB_PORT
63
62
value : " 6379"
63
+ - name : PEERPREP_UI_HOST
64
+ value : http://frontend:3000
64
65
livenessProbe :
65
66
exec :
66
67
command :
Original file line number Diff line number Diff line change 69
69
- secretRef :
70
70
name : question-secret
71
71
env :
72
+ # When load testing, it exposes port 80 by default.
72
73
- name : LOAD_TEST_POD
73
74
value : http://question-service-load-test
75
+ - name : PEERPREP_UI_HOST
76
+ value : http://frontend
74
77
livenessProbe :
75
78
exec :
76
79
command :
Original file line number Diff line number Diff line change @@ -63,15 +63,19 @@ spec:
63
63
64
64
containers :
65
65
- name : user-express
66
+ # TODO: Switch back to :latest once we merge to main branch
66
67
# image: ay2425s1cs3219g16/user-express:main
67
68
image : ay2425s1cs3219g16/user-express:sha-ff94455
68
69
imagePullPolicy : IfNotPresent
69
70
envFrom :
70
71
- secretRef :
71
72
name : user-secret
72
73
env :
74
+ # When load testing, it exposes port 80 by default.
73
75
- name : LOAD_TEST_POD
74
76
value : http://user-service-load-test
77
+ - name : PEERPREP_UI_HOST
78
+ value : http://frontend:3000
75
79
livenessProbe :
76
80
exec :
77
81
command :
You can’t perform that action at this time.
0 commit comments