switched to deployments for easier restarts also moved pvc's after
accidntally deleting them :(
This commit is contained in:
46
k8s_manifests/bazarr/deployment.yaml
Normal file
46
k8s_manifests/bazarr/deployment.yaml
Normal file
@@ -0,0 +1,46 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: bazarr
|
||||
labels:
|
||||
app.kubernetes.io/name: bazarr
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: bazarr
|
||||
template:
|
||||
metadata:
|
||||
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
|
||||
|
@@ -1,37 +0,0 @@
|
||||
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
|
||||
|
31
k8s_manifests/flaresolverr/deployment.yaml
Normal file
31
k8s_manifests/flaresolverr/deployment.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: flaresolverr
|
||||
labels:
|
||||
app.kubernetes.io/name: flaresolverr
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: flaresolverr
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: flaresolverr
|
||||
spec:
|
||||
containers:
|
||||
- name: flaresolverr
|
||||
image: ghcr.io/flaresolverr/flaresolverr:latest
|
||||
env:
|
||||
- name: LOG_LEVEL
|
||||
value: info
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: UMASK
|
||||
value: "002"
|
||||
- name: TZ
|
||||
value: "Etc/UTC"
|
||||
|
14
k8s_manifests/flaresolverr/service.yaml
Normal file
14
k8s_manifests/flaresolverr/service.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: svc-flaresolverr
|
||||
spec:
|
||||
selector:
|
||||
app.kubernetes.io/name: flaresolverr
|
||||
ports:
|
||||
- name: webui
|
||||
protocol: TCP
|
||||
port: 80
|
||||
targetPort: 8191
|
||||
|
||||
|
@@ -74,3 +74,13 @@ spec:
|
||||
name: svc-sonarr
|
||||
port:
|
||||
number: 80
|
||||
- host: "flaresolverr.local"
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: svc-flaresolverr
|
||||
port:
|
||||
number: 80
|
||||
|
44
k8s_manifests/lidarr/deployment.yaml
Normal file
44
k8s_manifests/lidarr/deployment.yaml
Normal file
@@ -0,0 +1,44 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: lidarr
|
||||
labels:
|
||||
app.kubernetes.io/name: lidarr
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: lidarr
|
||||
template:
|
||||
metadata:
|
||||
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
|
||||
|
@@ -1,35 +0,0 @@
|
||||
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
|
||||
|
58
k8s_manifests/plex/deployment.yaml
Normal file
58
k8s_manifests/plex/deployment.yaml
Normal file
@@ -0,0 +1,58 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: plex
|
||||
labels:
|
||||
app.kubernetes.io/name: plex
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: plex
|
||||
template:
|
||||
metadata:
|
||||
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
|
||||
|
@@ -1,49 +0,0 @@
|
||||
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
|
||||
|
38
k8s_manifests/prowlarr/deployment.yaml
Normal file
38
k8s_manifests/prowlarr/deployment.yaml
Normal file
@@ -0,0 +1,38 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: prowlarr
|
||||
labels:
|
||||
app.kubernetes.io/name: prowlarr
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: prowlarr
|
||||
template:
|
||||
metadata:
|
||||
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
|
||||
|
@@ -1,29 +0,0 @@
|
||||
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
|
||||
|
46
k8s_manifests/qbittorrent/deployment.yaml
Normal file
46
k8s_manifests/qbittorrent/deployment.yaml
Normal file
@@ -0,0 +1,46 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: qbittorrent
|
||||
labels:
|
||||
app.kubernetes.io/name: qbittorrent
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: qbittorrent
|
||||
template:
|
||||
metadata:
|
||||
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
|
||||
|
@@ -1,37 +0,0 @@
|
||||
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
|
||||
|
44
k8s_manifests/radarr/deployment.yaml
Normal file
44
k8s_manifests/radarr/deployment.yaml
Normal file
@@ -0,0 +1,44 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: radarr
|
||||
labels:
|
||||
app.kubernetes.io/name: radarr
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: radarr
|
||||
template:
|
||||
metadata:
|
||||
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
|
||||
|
@@ -1,35 +0,0 @@
|
||||
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
|
||||
|
44
k8s_manifests/sonarr/deployment.yaml
Normal file
44
k8s_manifests/sonarr/deployment.yaml
Normal file
@@ -0,0 +1,44 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: sonarr
|
||||
labels:
|
||||
app.kubernetes.io/name: sonarr
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: sonarr
|
||||
template:
|
||||
metadata:
|
||||
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
|
||||
|
@@ -1,35 +0,0 @@
|
||||
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
|
||||
|
Reference in New Issue
Block a user