Skip to content

Commit 4b8f3b9

Browse files
committed
replace port readiness check with app readiness
1 parent ff90ffe commit 4b8f3b9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

helm-chart/templates/paperdebugger.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ spec:
3232
command: ["sh", "-c"]
3333
args:
3434
- |
35-
echo "Waiting for paperdebugger-xtramcp-server:8080..."
36-
until nc -z -w 2 paperdebugger-xtramcp-server 8080; do
35+
echo "Waiting for xtramcp health endpoint..."
36+
until wget -q --spider http://paperdebugger-xtramcp-server:8080/health; do
3737
sleep 2
3838
done
39-
echo "xtramcp port is open."
39+
echo "xtramcp is healthy."
4040
containers:
4141
- name: paperdebugger
4242
image: {{ .Values.paperdebugger.image }}

0 commit comments

Comments
 (0)