add radarr
This commit is contained in:
parent
2a794cc641
commit
f94ba240a3
51
mediaserver/base/mediaserver-radarr-deployment.yaml
Normal file
51
mediaserver/base/mediaserver-radarr-deployment.yaml
Normal file
@ -0,0 +1,51 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: radarr
|
||||
labels:
|
||||
app: radarr
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: radarr
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: radarr
|
||||
annotations:
|
||||
spec:
|
||||
volumes:
|
||||
- name: radarr-config
|
||||
persistentVolumeClaim:
|
||||
claimName: mediaserver-radarr-config-pvc
|
||||
- name: plex-data
|
||||
persistentVolumeClaim:
|
||||
claimName: mediaserver-plex-data-pvc
|
||||
- name: rdtclient-downloads
|
||||
persistentVolumeClaim:
|
||||
claimName: mediaserver-rdtclient-downloads-pvc
|
||||
containers:
|
||||
- name: radarr
|
||||
image: ghcr.io/hotio/radarr:nightly@sha256:4ae34fcfa53ab10674ec31b69f7057f35e4b553338eb9bfcb7b5afb32b4edba0
|
||||
resources:
|
||||
requests:
|
||||
cpu: 1
|
||||
memory: 512Mi
|
||||
ports:
|
||||
- name: web
|
||||
containerPort: 7878
|
||||
env:
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: TZ
|
||||
value: Europe/Amsterdam
|
||||
volumeMounts:
|
||||
- mountPath: /config
|
||||
name: radarr-config
|
||||
- mountPath: /downloads
|
||||
name: rdtclient-downloads
|
||||
- mountPath: /data
|
||||
name: plex-data
|
12
mediaserver/base/mediaserver-radarr-ingress.yaml
Normal file
12
mediaserver/base/mediaserver-radarr-ingress.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: mediaserver-radarr-ingressroute
|
||||
spec:
|
||||
routes:
|
||||
- match: Host(`radarr.k8s.mziesel.nl`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: mediaserver-radarr
|
||||
port: web
|
||||
tls: {}
|
11
mediaserver/base/mediaserver-radarr-pvc.yaml
Normal file
11
mediaserver/base/mediaserver-radarr-pvc.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
kind: PersistentVolumeClaim
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: mediaserver-radarr-config-pvc
|
||||
spec:
|
||||
storageClassName: nfs-client
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 2Gi
|
11
mediaserver/base/mediaserver-radarr-svc.yaml
Normal file
11
mediaserver/base/mediaserver-radarr-svc.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: mediaserver-radarr
|
||||
spec:
|
||||
ports:
|
||||
- name: web
|
||||
port: 80
|
||||
targetPort: web
|
||||
selector:
|
||||
app: radarr
|
@ -17,3 +17,7 @@ resources:
|
||||
- ./base/mediaserver-rdtclient-ingress.yaml
|
||||
- ./base/mediaserver-rdtclient-pvc.yaml
|
||||
- ./base/mediaserver-rdtclient-svc.yaml
|
||||
- ./base/mediaserver-radarr-deployment.yaml
|
||||
- ./base/mediaserver-radarr-ingress.yaml
|
||||
- ./base/mediaserver-radarr-pvc.yaml
|
||||
- ./base/mediaserver-radarr-svc.yaml
|
||||
|
Loading…
Reference in New Issue
Block a user