This commit is contained in:
2025-05-15 15:24:03 +02:00
parent df37edbd0d
commit 732ae66d43
6 changed files with 145 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: readarr
labels:
app.kubernetes.io/name: readarr
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: readarr
template:
metadata:
labels:
app.kubernetes.io/name: readarr
spec:
volumes:
- name: nfs-vol
nfs:
server: 192.168.0.99
path: /mnt/test1/media/
- name: config
nfs:
server: 192.168.0.99
path: /mnt/test1/media/config/readarr
containers:
- name: readarr
image: ghcr.io/hotio/readarr:latest
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: UMASK
value: "002"
- name: TZ
value: "Etc/UTC"
ports:
- containerPort: 8787
volumeMounts:
- name: config
mountPath: /config
- name: nfs-vol
mountPath: /media

View File

@@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: svc-readarr
spec:
selector:
app.kubernetes.io/name: readarr
ports:
- name: webui
protocol: TCP
port: 80
targetPort: 8787