convert to app template

This commit is contained in:
2024-06-22 21:43:48 -05:00
parent 6bc2a924f2
commit ea8a544ae5
6 changed files with 196 additions and 79 deletions

View File

@@ -0,0 +1,21 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: lidarr2
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: lidarr2
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/component: metrics
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:
selector:
matchLabels:
app.kubernetes.io/name: lidarr2
app.kubernetes.io/instance: {{ .Release.Name }}
endpoints:
- port: metrics
interval: 3m
scrapeTimeout: 1m
path: /metrics