Add local storage classes
parent
5e4a24ed7c
commit
8653428b56
@ -0,0 +1,10 @@
|
|||||||
|
kind: StorageClass
|
||||||
|
apiVersion: storage.k8s.io/v1
|
||||||
|
metadata:
|
||||||
|
name: local-hdd
|
||||||
|
provisioner: cluster.local/local-path-provisioner
|
||||||
|
parameters:
|
||||||
|
nodePath: /mnt/data/cluster-local-storage
|
||||||
|
fromBackup: ""
|
||||||
|
volumeBindingMode: WaitForFirstConsumer
|
||||||
|
reclaimPolicy: Delete
|
@ -0,0 +1,12 @@
|
|||||||
|
kind: StorageClass
|
||||||
|
apiVersion: storage.k8s.io/v1
|
||||||
|
metadata:
|
||||||
|
name: local-ssd
|
||||||
|
annotations:
|
||||||
|
storageclass.kubernetes.io/is-default-class: "true"
|
||||||
|
provisioner: cluster.local/local-path-provisioner
|
||||||
|
parameters:
|
||||||
|
nodePath: /var/cluster-local-storage
|
||||||
|
fromBackup: ""
|
||||||
|
volumeBindingMode: WaitForFirstConsumer
|
||||||
|
reclaimPolicy: Delete
|
Loading…
Reference in New Issue