fix: restore deployment — ingress routing, readiness probes, rate limiter
Some checks failed
Build and Deploy GooSeek / build-and-deploy (push) Has been cancelled
Some checks failed
Build and Deploy GooSeek / build-and-deploy (push) Has been cancelled
- Ingress: route /api/* on gooseek.ru to api-gateway (was going to webui) - api-gateway: move /health and /ready before JWT/rate-limit middleware to prevent liveness probe 429 failures causing CrashLoopBackOff - Readiness probes: fix agent-svc, search-svc, scraper-svc to use /health (they don't implement /ready endpoint, causing permanent 0/1 status) - ConfigMap: add missing CHAT_SVC_URL and API_GATEWAY_URL - deploy.sh: also clean up misplaced NetworkPolicy from gooseek namespace - webui: add Next.js rewrites to proxy /api/* to api-gateway Made-with: Cursor
This commit is contained in:
@@ -88,9 +88,10 @@ echo "=== Applying sandbox namespace resources ==="
|
||||
kubectl apply -f "$SCRIPT_DIR/sandbox-namespace.yaml"
|
||||
kubectl apply -f "$SCRIPT_DIR/opensandbox-sandbox-ns.yaml"
|
||||
|
||||
# Clean up misplaced quota/limitrange from gooseek namespace (legacy fix)
|
||||
# Clean up misplaced sandbox resources from gooseek namespace (legacy fix)
|
||||
kubectl delete resourcequota sandbox-quota -n gooseek --ignore-not-found=true 2>/dev/null || true
|
||||
kubectl delete limitrange sandbox-limits -n gooseek --ignore-not-found=true 2>/dev/null || true
|
||||
kubectl delete networkpolicy sandbox-isolation -n gooseek --ignore-not-found=true 2>/dev/null || true
|
||||
|
||||
# Apply kustomization
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user