kub/apps/production/radarr/deployment.yaml

41 lines
952 B
YAML

apiVersion: apps/v1
kind: StatefulSet
metadata:
name: radarr
namespace: default
labels:
app: radarr
spec:
serviceName: headless-radarr
replicas: 1
selector:
matchLabels:
app: radarr
template:
metadata:
labels:
app: radarr
spec:
containers:
- name: radarr
image: ghcr.io/linuxserver/radarr@sha256:c5b78b1f1e8556d781788194c4ee2b87ca7e3620b701bfce31499e60ee50eca3
imagePullPolicy: IfNotPresent
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: TZ
value: America/New_York
volumeMounts:
- mountPath: /config
name: config
volumeClaimTemplates:
- metadata:
name: config
spec:
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: 5Gi
storageClassName: longhorn