done :))))
This commit is contained in:
37
k8s_manifests/bazarr/pod.yaml
Normal file
37
k8s_manifests/bazarr/pod.yaml
Normal file
@@ -0,0 +1,37 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: bazarr
|
||||
labels:
|
||||
app.kubernetes.io/name: bazarr
|
||||
spec:
|
||||
volumes:
|
||||
- name: nfs-vol
|
||||
nfs:
|
||||
server: 192.168.0.114
|
||||
path: /mnt/test1/media/
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: config-bazarr
|
||||
containers:
|
||||
- name: bazarr
|
||||
image: ghcr.io/hotio/bazarr:latest
|
||||
env:
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: UMASK
|
||||
value: "002"
|
||||
- name: TZ
|
||||
value: "Etc/UTC"
|
||||
- name: WEBUI_PORTS
|
||||
value: "6767/tcp,6767/udp"
|
||||
ports:
|
||||
- containerPort: 6767
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
- name: nfs-vol
|
||||
mountPath: /media
|
||||
|
9
k8s_manifests/bazarr/pvc.yaml
Normal file
9
k8s_manifests/bazarr/pvc.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: config-bazarr
|
||||
spec:
|
||||
accessModes: [ReadWriteOnce]
|
||||
resources: { requests: { storage: 1Gi } }
|
||||
|
14
k8s_manifests/bazarr/service.yaml
Normal file
14
k8s_manifests/bazarr/service.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: svc-bazarr
|
||||
spec:
|
||||
selector:
|
||||
app.kubernetes.io/name: bazarr
|
||||
ports:
|
||||
- name: webui
|
||||
protocol: TCP
|
||||
port: 80
|
||||
targetPort: 6767
|
||||
|
||||
|
@@ -4,6 +4,56 @@ metadata:
|
||||
name: main-ingress
|
||||
spec:
|
||||
rules:
|
||||
- host: "bazarr.local"
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: svc-bazarr
|
||||
port:
|
||||
number: 80
|
||||
- host: "sonarr.local"
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: svc-sonarr
|
||||
port:
|
||||
number: 80
|
||||
- host: "prowlarr.local"
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: svc-prowlarr
|
||||
port:
|
||||
number: 80
|
||||
- host: "radarr.local"
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: svc-radarr
|
||||
port:
|
||||
number: 80
|
||||
- host: "lidarr.local"
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: svc-lidarr
|
||||
port:
|
||||
number: 80
|
||||
- host: "qbittorrent.local"
|
||||
http:
|
||||
paths:
|
||||
@@ -14,3 +64,13 @@ spec:
|
||||
name: svc-qbittorrent
|
||||
port:
|
||||
number: 80
|
||||
- host: "plex.local"
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: svc-plex
|
||||
port:
|
||||
number: 80
|
||||
|
35
k8s_manifests/lidarr/pod.yaml
Normal file
35
k8s_manifests/lidarr/pod.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: lidarr
|
||||
labels:
|
||||
app.kubernetes.io/name: lidarr
|
||||
spec:
|
||||
volumes:
|
||||
- name: nfs-vol
|
||||
nfs:
|
||||
server: 192.168.0.114
|
||||
path: /mnt/test1/media/
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: config-lidarr
|
||||
containers:
|
||||
- name: lidarr
|
||||
image: ghcr.io/hotio/lidarr:latest
|
||||
env:
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: UMASK
|
||||
value: "002"
|
||||
- name: TZ
|
||||
value: "Etc/UTC"
|
||||
ports:
|
||||
- containerPort: 8686
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
- name: nfs-vol
|
||||
mountPath: /media
|
||||
|
9
k8s_manifests/lidarr/pvc.yaml
Normal file
9
k8s_manifests/lidarr/pvc.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: config-lidarr
|
||||
spec:
|
||||
accessModes: [ReadWriteOnce]
|
||||
resources: { requests: { storage: 1Gi } }
|
||||
|
14
k8s_manifests/lidarr/service.yaml
Normal file
14
k8s_manifests/lidarr/service.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: svc-lidarr
|
||||
spec:
|
||||
selector:
|
||||
app.kubernetes.io/name: lidarr
|
||||
ports:
|
||||
- name: webui
|
||||
protocol: TCP
|
||||
port: 80
|
||||
targetPort: 8686
|
||||
|
||||
|
@@ -1,4 +1,12 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: config-qbittorrent
|
||||
spec:
|
||||
accessModes: [ReadWriteOnce]
|
||||
resources: { requests: { storage: 1Gi } }
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: qbittorrent
|
||||
@@ -10,6 +18,9 @@ spec:
|
||||
nfs:
|
||||
server: 192.168.0.114
|
||||
path: /mnt/test1/media/testing
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: config-qbittorrent
|
||||
containers:
|
||||
- name: qbittorrent
|
||||
image: ghcr.io/hotio/qbittorrent:latest
|
||||
@@ -27,6 +38,8 @@ spec:
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
- name: nfs-vol
|
||||
mountPath: /media
|
||||
---
|
49
k8s_manifests/plex/pod.yaml
Normal file
49
k8s_manifests/plex/pod.yaml
Normal file
@@ -0,0 +1,49 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: plex
|
||||
labels:
|
||||
app.kubernetes.io/name: plex
|
||||
spec:
|
||||
volumes:
|
||||
- name: nfs-vol
|
||||
nfs:
|
||||
server: 192.168.0.114
|
||||
path: /mnt/test1/media/
|
||||
- name: transcode
|
||||
persistentVolumeClaim:
|
||||
claimName: transcode-plex
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: config-plex
|
||||
containers:
|
||||
- name: plex
|
||||
image: ghcr.io/hotio/plex:latest
|
||||
env:
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: UMASK
|
||||
value: "002"
|
||||
- name: TZ
|
||||
value: "Etc/UTC"
|
||||
- name: PLEX_CLAIM_TOKEN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: plex-claim
|
||||
key: PLEX_CLAIM
|
||||
- name: PELX_BETA_INSTALL
|
||||
value: "true"
|
||||
- name: PLEX_PURGE_CODECS
|
||||
value: "false"
|
||||
ports:
|
||||
- containerPort: 32400
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
- name: transcode
|
||||
mountPath: /transcode
|
||||
- name: nfs-vol
|
||||
mountPath: /media
|
||||
|
18
k8s_manifests/plex/pvc.yaml
Normal file
18
k8s_manifests/plex/pvc.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: transcode-plex
|
||||
spec:
|
||||
accessModes: [ReadWriteOnce]
|
||||
resources: { requests: { storage: 16Gi } }
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: config-plex
|
||||
spec:
|
||||
accessModes: [ReadWriteOnce]
|
||||
resources: { requests: { storage: 1Gi } }
|
||||
|
||||
|
14
k8s_manifests/plex/service.yaml
Normal file
14
k8s_manifests/plex/service.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: svc-plex
|
||||
spec:
|
||||
selector:
|
||||
app.kubernetes.io/name: plex
|
||||
ports:
|
||||
- name: webui
|
||||
protocol: TCP
|
||||
port: 80
|
||||
targetPort: 32400
|
||||
|
||||
|
29
k8s_manifests/prowlarr/pod.yaml
Normal file
29
k8s_manifests/prowlarr/pod.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: prowlarr
|
||||
labels:
|
||||
app.kubernetes.io/name: prowlarr
|
||||
spec:
|
||||
volumes:
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: config-prowlarr
|
||||
containers:
|
||||
- name: prowlarr
|
||||
image: ghcr.io/hotio/prowlarr:latest
|
||||
env:
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: UMASK
|
||||
value: "002"
|
||||
- name: TZ
|
||||
value: "Etc/UTC"
|
||||
ports:
|
||||
- containerPort: 9696
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
|
9
k8s_manifests/prowlarr/pvc.yaml
Normal file
9
k8s_manifests/prowlarr/pvc.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: config-prowlarr
|
||||
spec:
|
||||
accessModes: [ReadWriteOnce]
|
||||
resources: { requests: { storage: 1Gi } }
|
||||
|
14
k8s_manifests/prowlarr/service.yaml
Normal file
14
k8s_manifests/prowlarr/service.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: svc-prowlarr
|
||||
spec:
|
||||
selector:
|
||||
app.kubernetes.io/name: prowlarr
|
||||
ports:
|
||||
- name: webui
|
||||
protocol: TCP
|
||||
port: 80
|
||||
targetPort: 9696
|
||||
|
||||
|
37
k8s_manifests/qbittorrent/pod.yaml
Normal file
37
k8s_manifests/qbittorrent/pod.yaml
Normal file
@@ -0,0 +1,37 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: qbittorrent
|
||||
labels:
|
||||
app.kubernetes.io/name: qbittorrent
|
||||
spec:
|
||||
volumes:
|
||||
- name: nfs-vol
|
||||
nfs:
|
||||
server: 192.168.0.114
|
||||
path: /mnt/test1/media/
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: config-qbittorrent
|
||||
containers:
|
||||
- name: qbittorrent
|
||||
image: ghcr.io/hotio/qbittorrent:latest
|
||||
env:
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: UMASK
|
||||
value: "002"
|
||||
- name: TZ
|
||||
value: "Etc/UTC"
|
||||
- name: WEBUI_PORTS
|
||||
value: "8080/tcp,8080/udp"
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
- name: nfs-vol
|
||||
mountPath: /media
|
||||
|
9
k8s_manifests/qbittorrent/pvc.yaml
Normal file
9
k8s_manifests/qbittorrent/pvc.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: config-qbittorrent
|
||||
spec:
|
||||
accessModes: [ReadWriteOnce]
|
||||
resources: { requests: { storage: 1Gi } }
|
||||
|
14
k8s_manifests/qbittorrent/service.yaml
Normal file
14
k8s_manifests/qbittorrent/service.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: svc-qbittorrent
|
||||
spec:
|
||||
selector:
|
||||
app.kubernetes.io/name: qbittorrent
|
||||
ports:
|
||||
- name: webui
|
||||
protocol: TCP
|
||||
port: 80
|
||||
targetPort: 8080
|
||||
|
||||
|
35
k8s_manifests/radarr/pod.yaml
Normal file
35
k8s_manifests/radarr/pod.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: radarr
|
||||
labels:
|
||||
app.kubernetes.io/name: radarr
|
||||
spec:
|
||||
volumes:
|
||||
- name: nfs-vol
|
||||
nfs:
|
||||
server: 192.168.0.114
|
||||
path: /mnt/test1/media/
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: config-radarr
|
||||
containers:
|
||||
- name: radarr
|
||||
image: ghcr.io/hotio/radarr:latest
|
||||
env:
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: UMASK
|
||||
value: "002"
|
||||
- name: TZ
|
||||
value: "Etc/UTC"
|
||||
ports:
|
||||
- containerPort: 7878
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
- name: nfs-vol
|
||||
mountPath: /media
|
||||
|
9
k8s_manifests/radarr/pvc.yaml
Normal file
9
k8s_manifests/radarr/pvc.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: config-radarr
|
||||
spec:
|
||||
accessModes: [ReadWriteOnce]
|
||||
resources: { requests: { storage: 1Gi } }
|
||||
|
14
k8s_manifests/radarr/service.yaml
Normal file
14
k8s_manifests/radarr/service.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: svc-radarr
|
||||
spec:
|
||||
selector:
|
||||
app.kubernetes.io/name: radarr
|
||||
ports:
|
||||
- name: webui
|
||||
protocol: TCP
|
||||
port: 80
|
||||
targetPort: 7878
|
||||
|
||||
|
35
k8s_manifests/sonarr/pod.yaml
Normal file
35
k8s_manifests/sonarr/pod.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: sonarr
|
||||
labels:
|
||||
app.kubernetes.io/name: sonarr
|
||||
spec:
|
||||
volumes:
|
||||
- name: nfs-vol
|
||||
nfs:
|
||||
server: 192.168.0.114
|
||||
path: /mnt/test1/media/
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: config-sonarr
|
||||
containers:
|
||||
- name: sonarr
|
||||
image: ghcr.io/hotio/sonarr:latest
|
||||
env:
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: UMASK
|
||||
value: "002"
|
||||
- name: TZ
|
||||
value: "Etc/UTC"
|
||||
ports:
|
||||
- containerPort: 8989
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
- name: nfs-vol
|
||||
mountPath: /media
|
||||
|
9
k8s_manifests/sonarr/pvc.yaml
Normal file
9
k8s_manifests/sonarr/pvc.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: config-sonarr
|
||||
spec:
|
||||
accessModes: [ReadWriteOnce]
|
||||
resources: { requests: { storage: 1Gi } }
|
||||
|
14
k8s_manifests/sonarr/service.yaml
Normal file
14
k8s_manifests/sonarr/service.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: svc-sonarr
|
||||
spec:
|
||||
selector:
|
||||
app.kubernetes.io/name: sonarr
|
||||
ports:
|
||||
- name: webui
|
||||
protocol: TCP
|
||||
port: 80
|
||||
targetPort: 8989
|
||||
|
||||
|
Reference in New Issue
Block a user