diff --git a/scripts/pipeline_health_check.sh b/scripts/pipeline_health_check.sh index eb710bc..570b69e 100755 --- a/scripts/pipeline_health_check.sh +++ b/scripts/pipeline_health_check.sh @@ -3,11 +3,11 @@ # Verifies every component is ACTUALLY working, not just "running" # # Usage: ./scripts/pipeline_health_check.sh [namespace] -# Default namespace: stonks-beta +# Default namespace: stonks-oracle set -uo pipefail -NS="${1:-stonks-beta}" +NS="${1:-stonks-oracle}" PASS=0 WARN=0 FAIL=0 @@ -423,6 +423,9 @@ TE_STATUS=$(kubectl exec -n "$NS" deployment/trading-engine -- curl -sf http://l # Risk Engine health RISK_STATUS=$(kubectl exec -n "$NS" deployment/risk -- curl -sf http://localhost:8000/health 2>/dev/null) && pass "Risk Engine: healthy" || fail "Risk Engine: unreachable" +# Specialist NER service health +SPEC_STATUS=$(kubectl exec -n "$NS" deployment/specialist -- curl -sf http://localhost:8000/health 2>/dev/null) && pass "Specialist: healthy" || fail "Specialist: unreachable" + # ─── 11. RESOURCE USAGE ─────────────────────────────────────── header "Resource Usage"