feat(radarr) add exportarr sidecar to radarr (#10714)

**Description**
Add exportarr metrics sidecar

⚒️ Fixes  # <!--(issue)-->

**⚙️ Type of change**

- [X] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [X] ⚖️ My code follows the style guidelines of this project
- [X] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [X] ⬆️ I increased versions for any altered app according to semantic
versioning

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
This commit is contained in:
Xstar97TheNoob
2023-07-21 23:02:47 +02:00
committed by GitHub
parent 27134cbbf5
commit c7ae816b8d
3 changed files with 85 additions and 11 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/radarr - https://github.com/truecharts/charts/tree/master/charts/stable/radarr
- https://github.com/Radarr/Radarr - https://github.com/Radarr/Radarr
type: application type: application
version: 16.0.22 version: 16.1.0
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- media - media
+2
View File
@@ -106,6 +106,8 @@ questions:
default: 568 default: 568
# Include{resources} # Include{resources}
# Include{metrics}
# Include{prometheusRule}
# Include{advanced} # Include{advanced}
# Include{addons} # Include{addons}
# Include{codeserver} # Include{codeserver}
+81 -9
View File
@@ -2,21 +2,30 @@ image:
repository: tccr.io/truecharts/radarr repository: tccr.io/truecharts/radarr
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
tag: v4.6.4.7568@sha256:9a8bfd8c2beb92116af78bc7d71ae7e87c734115f8252180137d89291731a577 tag: v4.6.4.7568@sha256:9a8bfd8c2beb92116af78bc7d71ae7e87c734115f8252180137d89291731a577
exportarrImage:
repository: tccr.io/truecharts/exportarr
pullPolicy: IfNotPresent
tag: v1.5.3@sha256:f369a43b28410f12ce1b96f52187dd5c6fb9769a137ecc6f7ab8fdcfbe7db58e
securityContext:
container:
readOnlyRootFilesystem: false
service: service:
main: main:
ports: ports:
main: main:
port: 7878 port: 7878
persistence: metrics:
config:
enabled: true enabled: true
mountPath: /config type: ClusterIP
portal: targetSelector: exportarr
open: ports:
metrics:
enabled: true enabled: true
securityContext: port: 7879
container: targetSelector: exportarr
readOnlyRootFilesystem: false
workload: workload:
main: main:
podSpec: podSpec:
@@ -35,6 +44,69 @@ workload:
enabled: true enabled: true
type: http type: http
path: /ping path: /ping
env: env:
RADARR__PORT: "{{ .Values.service.main.ports.main.port }}" RADARR__PORT: "{{ .Values.service.main.ports.main.port }}"
exportarr:
enabled: true
type: Deployment
strategy: RollingUpdate
replicas: 1
podSpec:
containers:
exportarr:
primary: true
enabled: true
imageSelector: exportarrImage
args:
- radarr
probes:
liveness:
enabled: true
type: http
path: /healthz
port: "{{ .Values.service.metrics.ports.metrics.port }}"
readiness:
enabled: true
type: http
path: /healthz
port: "{{ .Values.service.metrics.ports.metrics.port }}"
startup:
enabled: true
type: http
path: /healthz
port: "{{ .Values.service.metrics.ports.metrics.port }}"
env:
INTERFACE: 0.0.0.0
PORT: "{{ .Values.service.metrics.ports.metrics.port }}"
URL: "http://localhost:{{ .Values.service.main.ports.main.port }}"
# additional metrics (slow)
# ENABLE_ADDITIONAL_METRICS: false
# enable gathering unknown queue items
# ENABLE_UNKNOWN_QUEUE_ITEMS: false
CONFIG: "/config/config.xml"
persistence:
config:
enabled: true
targetSelector:
main:
main:
mountPath: /config
exportarr:
exportarr:
mountPath: /config
readOnly: true
metrics:
main:
enabled: true
type: "servicemonitor"
endpoints:
- port: metrics
path: /metrics
prometheusRule:
enabled: false
portal:
open:
enabled: true