Merge pull request #3 from aggarwalakshun/radarr
Add Radarr deployment, PVC, and service configurations
This commit is contained in:
49
clusters/default/arr-stack/radarr/radarr-deployment.yml
Normal file
49
clusters/default/arr-stack/radarr/radarr-deployment.yml
Normal file
@@ -0,0 +1,49 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: radarr
|
||||
namespace: arr-stack
|
||||
spec:
|
||||
strategy:
|
||||
type: Recreate
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: radarr
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: radarr
|
||||
spec:
|
||||
containers:
|
||||
- name: radarr
|
||||
image: lscr.io/linuxserver/radarr:5.27.5
|
||||
ports:
|
||||
- containerPort: 7878
|
||||
env:
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: TZ
|
||||
value: "Asia/Kolkata"
|
||||
volumeMounts:
|
||||
- name: movies
|
||||
mountPath: /movies
|
||||
- name: downloads
|
||||
mountPath: /downloads
|
||||
- name: config
|
||||
mountPath: /config
|
||||
volumes:
|
||||
- name: movies
|
||||
nfs:
|
||||
server: 10.0.0.123
|
||||
path: /merge/movies
|
||||
- name: downloads
|
||||
nfs:
|
||||
server: 10.0.0.123
|
||||
path: /merge/downloads
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: radarr-longhorn
|
||||
14
clusters/default/arr-stack/radarr/radarr-pvc.yml
Normal file
14
clusters/default/arr-stack/radarr/radarr-pvc.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: radarr-longhorn
|
||||
namespace: arr-stack
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
volumeMode: Filesystem
|
||||
resources:
|
||||
requests:
|
||||
storage: 2Gi
|
||||
storageClassName: longhorn
|
||||
13
clusters/default/arr-stack/radarr/radarr-svc.yml
Normal file
13
clusters/default/arr-stack/radarr/radarr-svc.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: radarr-service
|
||||
namespace: arr-stack
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
selector:
|
||||
app: radarr
|
||||
ports:
|
||||
- port: 7878
|
||||
targetPort: 7878
|
||||
Reference in New Issue
Block a user