add exportarr sidecar to readarr

This commit is contained in:
SeanOMik 2023-05-11 01:35:47 -04:00
parent 98aa3893f0
commit aaec65e8b5
2 changed files with 68 additions and 0 deletions

View File

@ -18,13 +18,41 @@ spec:
image:
repository: lscr.io/linuxserver/readarr
tag: develop
# Metrics sidecar
sidecars:
exportarr:
image: ghcr.io/onedr0p/exportarr:latest
args:
- readarr
ports:
- name: metrics
containerPort: 9000
env:
- name: URL
value: "http://localhost"
- name: CONFIG
value: "/config/config.xml"
- name: PORT
value: 9000
- name: ENABLE_ADDITIONAL_METRICS
value: "true"
- name: ENABLE_UNKNOWN_QUEUE_ITEMS
value: "true"
volumeMounts:
- name: config
mountPath: /config
readOnly: true
env:
TZ: America/New_York
service:
main:
ports:
http:
port: 8787
probes:
liveness:
enabled: true
@ -39,6 +67,7 @@ spec:
failureThreshold: 3
startup:
enabled: false
ingress:
main:
enabled: true
@ -55,6 +84,7 @@ spec:
- hosts:
- *host
secretName: wildcard-main-tls
persistence:
config:
enabled: true
@ -67,6 +97,10 @@ spec:
hostPath: /mnt/MainPool/Media
mountPath: /storage
serviceMonitor:
main:
enabled: true
resources:
requests:
cpu: 1m

View File

@ -18,13 +18,41 @@ spec:
image:
repository: lscr.io/linuxserver/readarr
tag: develop
# Metrics sidecar
sidecars:
exportarr:
image: ghcr.io/onedr0p/exportarr:latest
args:
- readarr
ports:
- name: metrics
containerPort: 9000
env:
- name: URL
value: "http://localhost"
- name: CONFIG
value: "/config/config.xml"
- name: PORT
value: 9000
- name: ENABLE_ADDITIONAL_METRICS
value: "true"
- name: ENABLE_UNKNOWN_QUEUE_ITEMS
value: "true"
volumeMounts:
- name: config
mountPath: /config
readOnly: true
env:
TZ: America/New_York
service:
main:
ports:
http:
port: 8787
probes:
liveness:
enabled: true
@ -39,6 +67,7 @@ spec:
failureThreshold: 3
startup:
enabled: false
ingress:
main:
enabled: true
@ -55,6 +84,7 @@ spec:
- hosts:
- *host
secretName: wildcard-main-tls
persistence:
config:
enabled: true
@ -67,6 +97,10 @@ spec:
hostPath: /mnt/MainPool/Media
mountPath: /storage
serviceMonitor:
main:
enabled: true
resources:
requests:
cpu: 1m