Add Kubernetes manifests for Grafana dashboard and Prometheus scraping
All checks were successful
Build & Push Container Image / build (push) Successful in 4s
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:
parent
c31161af19
commit
ae3569e897
2 changed files with 250 additions and 0 deletions
18
k8s/servicemonitor.yaml
Normal file
18
k8s/servicemonitor.yaml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue