chore: remove forgejo and registry dependencies

This commit is contained in:
Ashwin Kumar Sivakumar 2026-06-15 01:52:14 +05:30
parent f81988da0c
commit fce1da5b3f
3 changed files with 0 additions and 16 deletions

View file

@ -64,8 +64,6 @@ spec:
err = str(e) err = str(e)
except Exception as e: except Exception as e:
err = str(e) err = str(e)
if name == "registry-svc" and status in (200, 401):
ok = True
latency_ms = int((time.time() - start) * 1000) latency_ms = int((time.time() - start) * 1000)
return { return {
"kind": "endpoint", "kind": "endpoint",
@ -135,8 +133,6 @@ spec:
("frontend-svc", "http://nxtgauge-frontend-solid.nxtgauge.svc.cluster.local/"), ("frontend-svc", "http://nxtgauge-frontend-solid.nxtgauge.svc.cluster.local/"),
("admin-svc", "http://nxtgauge-admin-solid.nxtgauge.svc.cluster.local/"), ("admin-svc", "http://nxtgauge-admin-solid.nxtgauge.svc.cluster.local/"),
("api-gateway-svc", "http://nxtgauge-rust-gateway.nxtgauge.svc.cluster.local:9100/health"), ("api-gateway-svc", "http://nxtgauge-rust-gateway.nxtgauge.svc.cluster.local:9100/health"),
("registry-svc", "http://docker-registry.registry.svc.cluster.local:5000/v2/"),
("forgejo-svc", "http://forgejo-http.forgejo.svc.cluster.local:3000/"),
("flux-source-controller", "http://source-controller.flux-system.svc.cluster.local/metrics"), ("flux-source-controller", "http://source-controller.flux-system.svc.cluster.local/metrics"),
("openobserve-svc", "http://o2-openobserve-standalone.openobserve.svc.cluster.local:5080/healthz"), ("openobserve-svc", "http://o2-openobserve-standalone.openobserve.svc.cluster.local:5080/healthz"),
] ]

View file

@ -6,5 +6,4 @@ resources:
- ../../apps/nxtgauge-admin-solid/overlays/prod - ../../apps/nxtgauge-admin-solid/overlays/prod
- ../../apps/nxtgauge-ai-assistant/overlays/prod - ../../apps/nxtgauge-ai-assistant/overlays/prod
- ../../apps/ollama/base - ../../apps/ollama/base
- ../../apps/registry
- ../../ops/openobserve-alerts - ../../ops/openobserve-alerts

View file

@ -153,14 +153,3 @@ data:
10 2 30 \ 10 2 30 \
"flux/{k8s_pod_name} {k8s_container_name}: {msg}" "flux/{k8s_pod_name} {k8s_container_name}: {msg}"
ensure_alert \
"forgejo-runner-errors" \
"SELECT k8s_pod_name, k8s_container_name, substring(body, 1, 220) AS msg FROM \"default\" WHERE k8s_namespace_name = 'forgejo' AND (body ILIKE '%error%' OR body ILIKE '%ERROR%' OR body ILIKE '%failed%' OR body ILIKE '%job failed%') ORDER BY _timestamp DESC LIMIT 50" \
10 2 30 \
"forgejo/{k8s_pod_name} {k8s_container_name}: {msg}"
ensure_alert \
"registry-errors" \
"SELECT k8s_pod_name, k8s_container_name, substring(body, 1, 220) AS msg FROM \"default\" WHERE k8s_namespace_name = 'registry' AND (body ILIKE '%error%' OR body ILIKE '%ERROR%' OR body ILIKE '%413%' OR body ILIKE '%payload too large%') ORDER BY _timestamp DESC LIMIT 50" \
10 2 60 \
"registry/{k8s_pod_name} {k8s_container_name}: {msg}"