feat(unpackerr): add service monitor

This commit is contained in:
SeanOMik 2024-01-07 21:33:30 -05:00
parent 6bff79c68d
commit 7137f20d77
Signed by: SeanOMik
GPG Key ID: FEC9E2FC15235964
2 changed files with 68 additions and 43 deletions

View File

@ -19,10 +19,6 @@ spec:
repository: ghcr.io/onedr0p/unpackerr repository: ghcr.io/onedr0p/unpackerr
tag: "0.12.0" tag: "0.12.0"
service:
main:
enabled: false
probes: probes:
liveness: liveness:
enabled: false enabled: false
@ -48,6 +44,24 @@ spec:
hostPath: /mnt/MainPool/Media hostPath: /mnt/MainPool/Media
mountPath: /storage mountPath: /storage
service:
main:
enabled: true
ports:
http:
port: 5656
serviceMonitor:
main:
enabled: true
labels:
release: kube-prometheus-stack
endpoints:
- port: http
interval: 15s
scrapeTimeout: 5s
path: /metrics
podSecurityContext: podSecurityContext:
runAsNonRoot: true runAsNonRoot: true
runAsUser: 10000 runAsUser: 10000

File diff suppressed because one or more lines are too long