Fix Plex transcoding diskusage;Move Unifi to separate namespace

This commit is contained in:
Danny Bessems 2020-11-23 13:19:31 +01:00
parent 242fb5453b
commit 37e819d73e
3 changed files with 12 additions and 1 deletions

View File

@ -1,6 +1,6 @@
image:
name: traefik
tag: 2.3.2
# tag: 2.3.2
ports:
rtmp:

View File

@ -45,6 +45,8 @@ spec:
name: flexvolsmb-pvr-series
- mountPath: /data/movies
name: flexvolsmb-pvr-movies
- mountPath: /transcode
name: emptydir-plex-transcode
volumes:
- name: longhorn-plex-config
persistentVolumeClaim:
@ -55,6 +57,9 @@ spec:
- name: flexvolsmb-pvr-movies
persistentVolumeClaim:
claimName: flexvolsmb-pvr-movies
- name: emptydir-plex-transcode
emptyDir:
medium: Memory
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute

View File

@ -2,6 +2,7 @@ apiVersion: v1
kind: Service
metadata:
name: unifi
namespace: unifi
spec:
ports:
- protocol: TCP
@ -14,6 +15,7 @@ apiVersion: v1
kind: Service
metadata:
name: unifi-tcp
namespace: unifi
spec:
type: LoadBalancer
ports:
@ -33,6 +35,7 @@ apiVersion: v1
kind: Service
metadata:
name: unifi-udp
namespace: unifi
spec:
type: LoadBalancer
ports:
@ -49,6 +52,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: unifi
namespace: unifi
labels:
app: unifi
spec:
@ -99,6 +103,7 @@ spec:
kind: Rule
services:
- name: unifi
namespace: unifi
port: 8443
scheme: https
# middlewares:
@ -109,6 +114,7 @@ apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: longhorn-unifi-config
namespace: unifi
spec:
accessModes:
- ReadWriteOnce