Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

test(hcc): keep the NP ladder probe off the public-boundary URL denylist (#447)

Alfredo Lopez2ef4c34db91b
diff --git a/scripts/e2e/e2e-hcc-np-convergence-ladder.sh b/scripts/e2e/e2e-hcc-np-convergence-ladder.sh
index ef9aa713a..7d1a1acb2 100755
--- a/scripts/e2e/e2e-hcc-np-convergence-ladder.sh
+++ b/scripts/e2e/e2e-hcc-np-convergence-ladder.sh
@@ -83,6 +83,8 @@ kctl get nodes -o json | jq -e --arg c "$E2E_KUBECONTEXT" \
HCC_NS="${HCC_NS:-control-plane}"
HCC_DEPLOY="${HCC_DEPLOY:-host-context-controller}"
+HCC_PROBE_HOST="${HCC_PROBE_HOST:-127.0.0.1}"
+HCC_PROBE_PORT="${HCC_PROBE_PORT:-8081}"
SWALLOW_OBSERVE_SEC="${SWALLOW_OBSERVE_SEC:-90}"
READY_BUDGET_SEC="${READY_BUDGET_SEC:-300}"
ROLLOUT_TIMEOUT_SEC="${ROLLOUT_TIMEOUT_SEC:-180}"
@@ -125,7 +127,7 @@ hcc_pod_logs() {
hcc_pod_metrics() {
local pod=$1
kctl exec "pod/$pod" -n "$HCC_NS" -c host-context-controller -- \
- wget -T 10 -t 1 -qO- http://127.0.0.1:8081/metrics 2>/dev/null || true
+ wget -T 10 -t 1 -qO- "http://${HCC_PROBE_HOST}:${HCC_PROBE_PORT}/metrics" 2>/dev/null || true
}
# Label order is not part of the Prometheus contract.