done :))))

This commit is contained in:
2024-10-29 14:08:26 +01:00
parent a96527c745
commit 003189d37b
23 changed files with 500 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
apiVersion: v1
kind: Pod
metadata:
name: sonarr
labels:
app.kubernetes.io/name: sonarr
spec:
volumes:
- name: nfs-vol
nfs:
server: 192.168.0.114
path: /mnt/test1/media/
- name: config
persistentVolumeClaim:
claimName: config-sonarr
containers:
- name: sonarr
image: ghcr.io/hotio/sonarr:latest
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: UMASK
value: "002"
- name: TZ
value: "Etc/UTC"
ports:
- containerPort: 8989
volumeMounts:
- name: config
mountPath: /config
- name: nfs-vol
mountPath: /media

View File

@@ -0,0 +1,9 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: config-sonarr
spec:
accessModes: [ReadWriteOnce]
resources: { requests: { storage: 1Gi } }

View File

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