Gluttony-Cluster/torrenter/media-pv.yaml

22 lines
414 B
YAML
Raw Normal View History

2023-10-16 01:02:05 +00:00
apiVersion: v1
kind: PersistentVolume
metadata:
name: media-pv
namespace: torrent-ns
spec:
storageClassName: local-storage
capacity:
storage: 18000Gi
accessModes:
- ReadWriteMany
hostPath:
path: "/Main/Media"
nodeAffinity:
required:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- gluttony