Add Kubernetes manifests for Grafana dashboard and Prometheus scraping
All checks were successful
Build & Push Container Image / build (push) Successful in 4s

ConfigMap with grafana_dashboard label for sidecar auto-discovery,
and ServiceMonitor for kube-prometheus-stack scrape target.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jan Willem Mannaerts 2026-03-01 01:06:19 +01:00
parent c31161af19
commit ae3569e897
2 changed files with 250 additions and 0 deletions

18
k8s/servicemonitor.yaml Normal file
View file

@ -0,0 +1,18 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: pokerface
namespace: monitoring
labels:
release: kube-prometheus-stack
spec:
namespaceSelector:
matchNames:
- pokerface
selector:
matchLabels:
app: pokerface
endpoints:
- port: http
path: /metrics
interval: 15s