42 lines
952 B
YAML
42 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:594fab7afdb1de2f61a82835f3f2377a6220d4940d4b49bfa95e82d8a6b13a95
|
||
|
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
|