-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsonarr.yaml
48 lines (47 loc) · 919 Bytes
/
sonarr.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
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: sonarr-deployment
labels:
app: sonarr
spec:
replicas: 1
selector:
matchLabels:
app: sonarr
template:
metadata:
labels:
app: sonarr
spec:
containers:
- name: sonarr
image: linuxserver/sonarr
ports:
- containerPort: 8989
volumeMounts:
- mountPath: /config
name: sonarr-config
- mountPath: /tv
name: sonarr-tv
volumes:
- name: sonarr-config
hostPath:
path: /nfs/media/sonarr/config
- name: sonarr-tv
hostPath:
path: /nfs/media/sonarr/tv
---
kind: Service
apiVersion: v1
metadata:
name: sonarr-service
spec:
selector:
app: sonarr
ports:
- protocol: TCP
port: 8989
targetPort: 8989
type: NodePort