Revert "Remove blackhole pv"
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This reverts commit 0f60861cb5
.
This commit is contained in:
parent
0f60861cb5
commit
92f873de31
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