Gluttony-Cluster/torrenter/radarr/radarr-deployment.yaml

57 lines
1.3 KiB
YAML
Raw Normal View History

2023-10-16 01:02:05 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
2023-12-03 02:51:04 +00:00
name: radarr
2023-10-16 01:02:05 +00:00
namespace: torrent-ns
labels:
2023-12-03 02:51:04 +00:00
app: radarr
2023-10-16 01:02:05 +00:00
spec:
replicas: 1
selector:
matchLabels:
2023-12-03 02:51:04 +00:00
app: torrenter-apps
2023-10-16 01:02:05 +00:00
template:
metadata:
labels:
app: torrenter-apps
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- gluttony
containers:
2023-12-03 02:51:04 +00:00
- name: radarr
2023-10-16 01:02:05 +00:00
image: lscr.io/linuxserver/radarr:latest
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: TZ
value: "Etc/UTC"
ports:
- containerPort: 7878
volumeMounts:
2023-12-03 02:51:04 +00:00
- name: radarr-config
2023-10-16 01:02:05 +00:00
mountPath: /config
- name: downloads-volume
mountPath: /downloads
- name: movies-storage
mountPath: /movies
subPath: movies/movies_normal
volumes:
2023-12-03 02:51:04 +00:00
- name: radarr-config
2023-10-16 01:02:05 +00:00
persistentVolumeClaim:
claimName: radarr-config-pvc
- name: downloads-volume
persistentVolumeClaim:
claimName: blackhole-pvc
2023-10-16 01:06:46 +00:00
- name: movies-storage
persistentVolumeClaim:
claimName: media-pvc