-
Notifications
You must be signed in to change notification settings - Fork 0
/
statefulset-radarr.yaml
51 lines (51 loc) · 1.11 KB
/
statefulset-radarr.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
## StatefulsSet
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: radarr
spec:
selector:
matchLabels:
app.kubernetes.io/name: radarr
serviceName: "radarr"
replicas: 1
template:
metadata:
labels:
app.kubernetes.io/name: radarr
spec:
containers:
- name: radarr
image: lscr.io/linuxserver/radarr:latest
imagePullPolicy: Always
ports:
- containerPort: 7878
name: http-7878
volumeMounts:
- name: config
mountPath: "/config"
- name: local
mountPath: /media/local
- name: downloads
mountPath: "/downloads"
resources:
requests:
memory: "128Mi"
cpu: "100m"
volumes:
- name: local
nfs:
path: /mnt/pool0/media
server: truenas.farhoodliquor.dmz
- name: downloads
persistentVolumeClaim:
claimName: downloads
volumeClaimTemplates:
- metadata:
name: config
spec:
accessModes: [ "ReadWriteOnce" ]
resources:
requests:
storage: 4Gi