convert to app template

This commit is contained in:
2024-06-22 22:29:26 -05:00
parent cb979c1004
commit c851083d67
34 changed files with 1066 additions and 420 deletions

View File

@@ -0,0 +1,21 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: readarr-books
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: readarr-books
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: readarr-books
app.kubernetes.io/instance: {{ .Release.Name }}
endpoints:
- port: metrics
interval: 3m
scrapeTimeout: 1m
path: /metrics