From 620a8f0d91900648ac8f33791598cdeff3476d40 Mon Sep 17 00:00:00 2001 From: Celes Renata Date: Mon, 13 Jul 2026 09:17:23 +0000 Subject: [PATCH] fix: add specialist health check, update default namespace to stonks-oracle --- scripts/pipeline_health_check.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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"