feat: add Sonarr deployment, service, and persistent volume claim
This commit is contained in:
47
cluster/apps/sonarr/sonarr.yml
Normal file
47
cluster/apps/sonarr/sonarr.yml
Normal file
@@ -0,0 +1,47 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: sonarr
|
||||
namespace: default
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: sonarr
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: sonarr
|
||||
spec:
|
||||
containers:
|
||||
- name: sonarr
|
||||
image: lscr.io/linuxserver/sonarr:4.0.14
|
||||
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: longhorn-sonarr
|
||||
- name: downloads
|
||||
nfs:
|
||||
server: 10.0.0.123
|
||||
path: /merge/downloads
|
||||
- name: tv
|
||||
nfs:
|
||||
server: 10.0.0.123
|
||||
path: /merge/series
|
||||
Reference in New Issue
Block a user