62 lines
1.4 KiB
YAML
62 lines
1.4 KiB
YAML
apiVersion: apps/v1
|
|
kind: StatefulSet
|
|
metadata:
|
|
name: radarr
|
|
namespace: arrstack
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: radarr
|
|
serviceName: radarr
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: radarr
|
|
spec:
|
|
restartPolicy: Always
|
|
terminationGracePeriodSeconds: 60
|
|
securityContext:
|
|
fsGroup: 0
|
|
containers:
|
|
- name: radarr
|
|
image: lscr.io/linuxserver/radarr:6.1.1
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 256Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
env:
|
|
- name: PUID
|
|
value: "0"
|
|
- name: PGID
|
|
value: "0"
|
|
ports:
|
|
- containerPort: 7878
|
|
volumeMounts:
|
|
- name: config
|
|
mountPath: /config
|
|
- name: media
|
|
subPath: "Anime Movies"
|
|
mountPath: /anime
|
|
- name: media
|
|
subPath: Movies
|
|
mountPath: /movies
|
|
- name: media
|
|
subPath: Nostalgia
|
|
mountPath: /nostalgia
|
|
- name: downloads
|
|
mountPath: /downloads
|
|
volumes:
|
|
- name: config
|
|
persistentVolumeClaim:
|
|
claimName: radarr-config
|
|
- name: media
|
|
persistentVolumeClaim:
|
|
claimName: smb-media
|
|
- name: downloads
|
|
persistentVolumeClaim:
|
|
claimName: smb-downloads
|