added sonarr to replace old docker container

This commit is contained in:
ahmza committed 2026-11-01 12:08:14 +00:00
1 parent 8491cfc324
commit 17aba428f7
6 files changed
+147

No files matched your search

+70
View File
@@ -0,0 +1,70 @@
# bazarr image from hotio ghcr.io/hotio/sonarr
apiVersion: apps/v1
kind: Deployment
metadata:
name: sonarr
namespace: sonarr
spec:
# Not Critical Infra so a single pod is fine
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: sonarr
template:
metadata:
labels:
app: sonarr
spec:
containers:
- name: sonarr
image: ghcr.io/hotio/sonarr:release
imagePullPolicy: Always
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: UMASK
value: "002"
- name: TZ
value: "Europe/London"
ports:
- name: http
containerPort: 8989
protocol: TCP
volumeMounds:
- name: sonarr-config
mountPath: /config
# Mount each media directory directly instead of using subPath.
# The NFS export root is not listable by root-squashed clients, so
# kubelet cannot safely prepare subPath mounts from that root.
- name: tv
mountPath: /tv
- name: anime
mountPath: /anime
- name: torrents
mountPath: /torrents
- name: usenet
mountPath: /usenet
volumes:
- name: sonarr-config
persistentVolumeClaim:
claimName: sonarr-config
- name: tv
nfs:
server: nas.ahmza.com
path: /srv/media/TVShows
- name: anime
nfs:
server: nas.ahmza.com
path: /srv/media/Anime
- name: torrents
nfs:
server: nas.ahmza.com
path: /srv/media/torrents
- name: usenet
nfs:
server: nas.ahmza.com
path: /srv/media/usenet