-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathradarr.yaml
92 lines (92 loc) · 1.95 KB
/
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: radarr-pvc
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
storageClassName: local-path
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: radarr-deployment
labels:
app: radarr
spec:
replicas: 1
selector:
matchLabels:
app: radarr
template:
metadata:
labels:
app: radarr
spec:
containers:
- name: radarr
image: ghcr.io/linuxserver/radarr
env:
- name: PUID
value: "999"
- name: PGID
value: "999"
ports:
- containerPort: 7878
volumeMounts:
- mountPath: /config
name: radarr-config
- mountPath: /downloads
name: radarr-downloads
- mountPath: /movies
name: radarr-movies
volumes:
- name: radarr-config
persistentVolumeClaim:
claimName: radarr-pvc
- name: radarr-downloads
hostPath:
path: /mnt/downloads
- name: radarr-movies
hostPath:
path: /mnt/movies
---
kind: Service
apiVersion: v1
metadata:
name: radarr-service
spec:
selector:
app: radarr
ports:
- protocol: TCP
port: 7878
targetPort: 7878
type: LoadBalancer
---
kind: Ingress
apiVersion: networking.k8s.io/v1
metadata:
name: ingress-radarr
annotations:
cert-manager.io/cluster-issuer: selfsigned-cluster-issuer #use a self-signed cert!
kubernetes.io/ingress.class: nginx
spec:
tls:
- hosts:
- radarr.ccrow.local #using a local DNS entry. Radarr should not be public!
secretName: radarr-tls
rules:
- host: radarr.ccrow.local
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: radarr-service
port:
number: 8181