REFACTOR(obs): integrate ingress to helm-values

- alertmanager: move ingress to karma inline, servicemonitor to manifests
- goldilocks: move ingress to helm-values
- grafana: move ingress to helm-values
- uptime-kuma: move ingress to helm-values
This commit is contained in:
2026-01-06 01:57:03 +09:00
parent 28ba50d1a3
commit 7b9abaf9c8
13 changed files with 64 additions and 134 deletions

View File

@@ -0,0 +1,27 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: alertmanager
namespace: prometheus
labels:
release: prometheus
spec:
endpoints:
- port: http
path: /metrics
scheme: http
interval: 60s
relabelings:
- targetLabel: cluster
replacement: "mayne-cluster"
# Drop alertmanager-headless to avoid duplicate metrics
- sourceLabels: [__meta_kubernetes_service_name]
regex: alertmanager-headless
action: drop
namespaceSelector:
matchNames:
- alertmanager
selector:
matchLabels:
app.kubernetes.io/instance: alertmanager
app.kubernetes.io/name: alertmanager