Update plex pvc to longhorn
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tyler Perkins 2024-04-30 20:57:50 -04:00
parent 67e8ef080c
commit 672f20848f
Signed by: tyler
GPG Key ID: 03B27509E17EFDC8
2 changed files with 2 additions and 24 deletions

View File

@ -1,21 +0,0 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: plex-pv-config
namespace: plex-ns
spec:
storageClassName: local-storage
capacity:
storage: 200Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/Main/Container-Configs/Plex/"
nodeAffinity:
required:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- gluttony

View File

@ -4,10 +4,9 @@ metadata:
name: plex-pvc-config name: plex-pvc-config
namespace: plex-ns namespace: plex-ns
spec: spec:
volumeName: plex-pv-config storageClassName: longhorn
storageClassName: local-storage
accessModes: accessModes:
- ReadWriteOnce - ReadWriteMany
resources: resources:
requests: requests:
storage: 200Gi storage: 200Gi