-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqbittorrent-deploy.yml
69 lines (69 loc) · 1.71 KB
/
qbittorrent-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
kind: Deployment
apiVersion: apps/v1
metadata:
name: qbittorrent
labels:
app: qbittorrent
part-of: qbittorrent
spec:
replicas: 1
selector:
matchLabels:
app: qbittorrent
part-of: qbittorrent
template:
metadata:
labels:
app: qbittorrent
part-of: qbittorrent
spec:
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 1
preference:
matchExpressions:
- key: disktype
operator: In
values:
- ssd
containers:
- name: qbittorrent
image: lscr.io/linuxserver/qbittorrent:4.4.3
ports:
- name: qbittorrent
containerPort: 8080
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: UMASK
value: "022"
volumeMounts:
- name: qbittorrent
mountPath: /config
- name: downloads-movies
mountPath: /downloads/movies
# - name: downloads-movies4k
# mountPath: /downloads/movies4k
- name: downloads-series
mountPath: /downloads/series
resources:
limits:
memory: 250Mi
requests:
memory: 200Mi
volumes:
- name: qbittorrent
persistentVolumeClaim:
claimName: qbittorrent
- name: downloads-series
persistentVolumeClaim:
claimName: downloads-series
- name: downloads-movies
persistentVolumeClaim:
claimName: downloads-movies
# - name: downloads-movies4k
# persistentVolumeClaim:
# claimName: downloads-movies4k