mirror of https://github.com/codevalet/codevalet
Add a storage class with a Retain policy
This commit is contained in:
parent
bc2e0b19cc
commit
e0ab85d974
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
apiVersion: storage.k8s.io/v1
|
||||
kind: StorageClass
|
||||
metadata:
|
||||
name: premium
|
||||
labels:
|
||||
kubernetes.io/cluster-service: 'true'
|
||||
annotations:
|
||||
storageclass.beta.kubernetes.io/is-default-class: 'true'
|
||||
provisioner: kubernetes.io/azure-disk
|
||||
parameters:
|
||||
kind: 'Managed'
|
||||
storageaccounttype: 'Premium_LRS'
|
||||
reclaimPolicy: Retain
|
|
@ -1,14 +0,0 @@
|
|||
---
|
||||
kind: StorageClass
|
||||
apiVersion: storage.k8s.io/v1
|
||||
metadata:
|
||||
name: azurefile
|
||||
annotations:
|
||||
labels:
|
||||
kubernetes.io/cluster-service: 'true'
|
||||
provisioner: kubernetes.io/azure-file
|
||||
parameters:
|
||||
storageAccount: 'codevaletpvcstore'
|
||||
reclaimPolicy: 'Retain'
|
||||
# mountOptions are passed into mount.cifs as `-o` options
|
||||
mountOptions:
|
Loading…
Reference in New Issue