Skip to content

Instantly share code, notes, and snippets.

@ams0
Created October 2, 2020 15:24
Show Gist options
  • Save ams0/38fc64b3fac2adf3a53d1952dfa040c4 to your computer and use it in GitHub Desktop.
Save ams0/38fc64b3fac2adf3a53d1952dfa040c4 to your computer and use it in GitHub Desktop.
storageclass_csi-azure-disk.yaml
kubectl apply -f -<<EOF
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: managed-ultra-csi
provisioner: disk.csi.azure.com
parameters:
skuname: UltraSSD_LRS # alias: storageaccounttype, available values: Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS
reclaimPolicy: Delete
volumeBindingMode: Immediate
allowVolumeExpansion: true
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment