This commit is contained in:
parent
3fadec6fbb
commit
47d349f021
22
torrenter/blackhole-pv.yaml
Normal file
22
torrenter/blackhole-pv.yaml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolume
|
||||||
|
metadata:
|
||||||
|
name: blackhole-pv
|
||||||
|
namespace: torrent-ns
|
||||||
|
spec:
|
||||||
|
storageClassName: local-storage
|
||||||
|
capacity:
|
||||||
|
storage: 1000Gi
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
hostPath:
|
||||||
|
path: /Main/Black Hole
|
||||||
|
nodeAffinity:
|
||||||
|
required:
|
||||||
|
nodeSelectorTerms:
|
||||||
|
- matchExpressions:
|
||||||
|
- key: kubernetes.io/hostname
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- gluttony
|
||||||
|
|
14
torrenter/blackhole-pvc.yaml
Normal file
14
torrenter/blackhole-pvc.yaml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: blackhole-pvc
|
||||||
|
namespace: torrent-ns
|
||||||
|
spec:
|
||||||
|
#storageClassName: local-storage
|
||||||
|
volumeName: blackhole-pv
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1000Gi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user