-
Notifications
You must be signed in to change notification settings - Fork 0
/
sonarr-deploy.yml
71 lines (71 loc) · 1.56 KB
/
sonarr-deploy.yml
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
kind: Deployment
apiVersion: apps/v1
metadata:
name: sonarr
labels:
app: sonarr
part-of: sonarr
spec:
replicas: 1
selector:
matchLabels:
app: sonarr
part-of: sonarr
template:
metadata:
labels:
app: sonarr
part-of: sonarr
spec:
containers:
- name: sonarr
image: ghcr.io/linuxserver/sonarr:3.0.9
ports:
- name: sonarr
containerPort: 8989
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: TZ
value: "Europe/Paris"
- name: UMASK
value: "022"
volumeMounts:
- name: sonarr
mountPath: /config
- name: series
mountPath: /series
- name: animes
mountPath: /animes
- name: downloads
mountPath: /downloads/series
resources:
limits:
memory: 300Mi
requests:
memory: 250Mi
readinessProbe:
tcpSocket:
port: sonarr
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
tcpSocket:
port: sonarr
initialDelaySeconds: 15
periodSeconds: 20
volumes:
- name: sonarr
persistentVolumeClaim:
claimName: sonarr
- name: series
persistentVolumeClaim:
claimName: series
- name: animes
persistentVolumeClaim:
claimName: animes
- name: downloads
persistentVolumeClaim:
claimName: downloads