add sonarr manifests

This commit is contained in:
2025-12-27 21:29:17 +05:30
parent 8a1e8e8f42
commit 4720e4c861
4 changed files with 102 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: sonarr
namespace: arr-stack
spec:
strategy:
type: Recreate
replicas: 1
selector:
matchLabels:
app: sonarr
template:
metadata:
labels:
app: sonarr
spec:
containers:
- name: sonarr
image: lscr.io/linuxserver/sonarr:4.0.16
ports:
- containerPort: 8989
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: TZ
value: "Asia/Kolkata"
volumeMounts:
- name: config
mountPath: /config
- name: tv
mountPath: /tv
- name: downloads
mountPath: /downloads
volumes:
- name: config
persistentVolumeClaim:
claimName: sonarr-longhorn
- name: downloads
nfs:
server: 192.168.1.4
path: /merge/downloads
- name: tv
nfs:
server: 192.168.1.4
path: /merge/series