Files
infrastructure/clusters/cl01tl/storage/garage/templates/service-monitor.yaml
Alex Lebens e12370efcb
All checks were successful
lint-test-helm / helm-lint (push) Successful in 20s
renovate / renovate (push) Successful in 1m50s
split webui
2025-10-27 20:46:58 -05:00

23 lines
589 B
YAML

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: garage
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: garage
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:
selector:
matchLabels:
app.kubernetes.io/name: garage-main
app.kubernetes.io/instance: {{ .Release.Name }}
endpoints:
- port: admin
interval: 1m
scrapeTimeout: 30s
path: /metrics
bearerTokenSecret:
name: garage-token-secret
key: GARAGE_METRICS_TOKEN