-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsabnzbd.yaml
53 lines (52 loc) · 1.14 KB
/
sabnzbd.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
52
53
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: sabnzbd-deployment
labels:
app: sabnzbd
spec:
replicas: 1
selector:
matchLabels:
app: sabnzbd
template:
metadata:
labels:
app: sabnzbd
spec:
containers:
- name: sabnzbd
image: linuxserver/sabnzbd
ports:
- containerPort: 6789
volumeMounts:
- mountPath: /config
name: sabnzbd-config
- mountPath: /downloads
name: sabnzbd-downloads
- mountPath: /incomplete-downloads
name: sabnzbd-incomplete
volumes:
- name: sabnzbd-config
hostPath:
path: /nfs/media/sabnzbd/config
- name: sabnzbd-downloads
hostPath:
path: /nfs/media/sabnzbd/completed-downloads
- name: sabnzbd-incomplete
hostPath:
path: /nfs/media/sabnzbd/incomplete-downloads
---
kind: Service
apiVersion: v1
metadata:
name: sabnzbd-service
spec:
selector:
app: sabnzbd
ports:
- protocol: TCP
port: 8080
targetPort: 8080
type: NodePort