We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdb597f commit b5436e6Copy full SHA for b5436e6
omec-sub-provision/templates/deployment-simapp.yaml
@@ -55,8 +55,10 @@ spec:
55
sleep 2
56
done
57
echo "${WEBUI_ADDR} DNS resolved, checking HTTP endpoint readiness..."
58
- until wget -q -O- --timeout=2 http://${WEBUI_ADDR}:${WEBUI_PORT}/config/v1/ >/dev/null 2>&1; do
+ until wget --spider --timeout=2 -S http://${WEBUI_ADDR}:${WEBUI_PORT}/config/v1/ 2>&1 | grep -q "HTTP/"; do
59
echo "Waiting for ${WEBUI_ADDR} HTTP endpoint to be ready..."
60
+ echo "Endpoint check failed, response:"
61
+ wget --spider --timeout=2 -S http://${WEBUI_ADDR}:${WEBUI_PORT}/config/v1/ 2>&1 | head -n 5 || echo "Connection failed or timed out"
62
sleep 3
63
64
echo "${WEBUI_ADDR} is ready, starting simapp..."
0 commit comments