Gluttony-Cluster/plex/plex-pv-media.yaml

21 lines
395 B
YAML
Raw Normal View History

2023-10-03 02:51:24 +00:00
apiVersion: v1
kind: PersistentVolume
metadata:
name: plex-pv-media
spec:
storageClassName: local-storage
2023-10-03 02:55:36 +00:00
capacity:
storage: 18000Gi
2023-10-03 02:51:24 +00:00
accessModes:
2023-10-05 01:08:37 +00:00
- ReadWriteMany
2023-10-03 02:51:24 +00:00
hostPath:
path: "/Main/Media"
nodeAffinity:
required:
2023-10-05 01:10:46 +00:00
nodeSelectorTerms:
2023-10-03 02:51:24 +00:00
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- gluttony