manually create servicemonitors for readarr
This commit is contained in:
parent
6c937e345a
commit
cf72a58656
|
@ -49,6 +49,9 @@ spec:
|
||||||
|
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
|
labels:
|
||||||
|
app: audiobook-readarr-service
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
http:
|
http:
|
||||||
port: 8787
|
port: 8787
|
||||||
|
@ -102,16 +105,6 @@ spec:
|
||||||
hostPath: /mnt/MainPool/Media
|
hostPath: /mnt/MainPool/Media
|
||||||
mountPath: /storage
|
mountPath: /storage
|
||||||
|
|
||||||
serviceMonitor:
|
|
||||||
main:
|
|
||||||
enabled: true
|
|
||||||
endpoints:
|
|
||||||
- port: metrics
|
|
||||||
scheme: http
|
|
||||||
path: /metrics
|
|
||||||
interval: 1m
|
|
||||||
scrapeTimeout: 10s
|
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 1m
|
cpu: 1m
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
apiVersion: monitoring.coreos.com/v1
|
||||||
|
kind: ServiceMonitor
|
||||||
|
metadata:
|
||||||
|
name: audiobook-readarr-exportarr
|
||||||
|
namespace: download
|
||||||
|
labels:
|
||||||
|
release: kube-prometheus-stack
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: audiobook-readarr-service
|
||||||
|
endpoints:
|
||||||
|
- port: metrics
|
||||||
|
interval: 30s
|
||||||
|
scrapeTimeout: 20s
|
||||||
|
path: /metrics
|
|
@ -49,6 +49,9 @@ spec:
|
||||||
|
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
|
labels:
|
||||||
|
app: ebook-readarr-service
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
http:
|
http:
|
||||||
port: 8787
|
port: 8787
|
||||||
|
@ -102,16 +105,6 @@ spec:
|
||||||
hostPath: /mnt/MainPool/Media
|
hostPath: /mnt/MainPool/Media
|
||||||
mountPath: /storage
|
mountPath: /storage
|
||||||
|
|
||||||
serviceMonitor:
|
|
||||||
main:
|
|
||||||
enabled: true
|
|
||||||
endpoints:
|
|
||||||
- port: metrics
|
|
||||||
scheme: http
|
|
||||||
path: /metrics
|
|
||||||
interval: 1m
|
|
||||||
scrapeTimeout: 10s
|
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 1m
|
cpu: 1m
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
apiVersion: monitoring.coreos.com/v1
|
||||||
|
kind: ServiceMonitor
|
||||||
|
metadata:
|
||||||
|
name: ebook-readarr-exportarr
|
||||||
|
namespace: download
|
||||||
|
labels:
|
||||||
|
release: kube-prometheus-stack
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: ebook-readarr-service
|
||||||
|
endpoints:
|
||||||
|
- port: metrics
|
||||||
|
interval: 30s
|
||||||
|
scrapeTimeout: 20s
|
||||||
|
path: /metrics
|
|
@ -3,3 +3,5 @@ kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ./audiobook-helm.yaml
|
- ./audiobook-helm.yaml
|
||||||
- ./ebook-helm.yaml
|
- ./ebook-helm.yaml
|
||||||
|
- ./audiobook-monitor.yaml
|
||||||
|
- ./ebook-monitor.yaml
|
Loading…
Reference in New Issue