Skip to content

Commit

Permalink
servicemonitor
Browse files Browse the repository at this point in the history
  • Loading branch information
scrungus committed Aug 19, 2024
1 parent 8ca98be commit b6630fe
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions charts/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: {{ include "coral-credits.fullname" . }}
labels: {{ include "coral-credits.labels" . | nindent 4 }}
spec:
endpoints:
- honorLabels: true
port: metrics
jobLabel: app.kubernetes.io/name
selector:
matchLabels: {{ include "coral-credits.selectorLabels" . | nindent 6 }}

0 comments on commit b6630fe

Please sign in to comment.