Add a storage class with a Retain policy

This commit is contained in:
R. Tyler Croy 2018-01-11 12:21:24 -08:00
parent bc2e0b19cc
commit e0ab85d974
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
2 changed files with 14 additions and 14 deletions

View File

@ -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

View File

@ -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: