Deploy monitoring stack

This commit is contained in:
2026-05-18 21:42:32 -05:00
parent dbf0b18f07
commit 2ed70b4964
8 changed files with 386 additions and 25 deletions

View File

@@ -0,0 +1,36 @@
# ------------------------------------------------------------------------------
# HTTPRoute — Grafana via Cilium Gateway
# Cert issued per-service via cert-manager annotation on the Certificate
# ------------------------------------------------------------------------------
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: grafana-tls
namespace: monitoring
spec:
secretName: grafana-tls
issuerRef:
name: letsencrypt-prod
kind: ClusterIssuer
dnsNames:
- grafana.local.mk-labs.cloud
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: grafana
namespace: monitoring
annotations:
external-dns.alpha.kubernetes.io/hostname: grafana.local.mk-labs.cloud
external-dns.alpha.kubernetes.io/target: "10.1.71.90"
spec:
parentRefs:
- name: fastpass-gateway
namespace: gateway
sectionName: https
hostnames:
- grafana.local.mk-labs.cloud
rules:
- backendRefs:
- name: monitoring-grafana
port: 80