From 672f20848ff96b2f0664bfe6c3d002542353ec7a Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Tue, 30 Apr 2024 20:57:50 -0400 Subject: [PATCH] Update plex pvc to longhorn --- plex/plex-pv-config.yaml | 21 --------------------- plex/plex-pvc-config.yaml | 5 ++--- 2 files changed, 2 insertions(+), 24 deletions(-) delete mode 100644 plex/plex-pv-config.yaml diff --git a/plex/plex-pv-config.yaml b/plex/plex-pv-config.yaml deleted file mode 100644 index 0f8b12a..0000000 --- a/plex/plex-pv-config.yaml +++ /dev/null @@ -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 diff --git a/plex/plex-pvc-config.yaml b/plex/plex-pvc-config.yaml index 53f5656..c010d33 100644 --- a/plex/plex-pvc-config.yaml +++ b/plex/plex-pvc-config.yaml @@ -4,10 +4,9 @@ metadata: name: plex-pvc-config namespace: plex-ns spec: - volumeName: plex-pv-config - storageClassName: local-storage + storageClassName: longhorn accessModes: - - ReadWriteOnce + - ReadWriteMany resources: requests: storage: 200Gi