---
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
  name: azurefile
provisioner: kubernetes.io/azure-file
allowVolumeExpansion: true
mountOptions:
  - dir_mode=0777
  - file_mode=0777
  - uid=0
  - gid=0
  - mfsymlinks
  - cache=strict  # https://github.com/piastry/cifs-utils/blob/master/mount.cifs.rst
  - nosharesock  # reduce probability of reconnect races
  - actimeo=30 # https://docs.microsoft.com/en-us/azure/storage/files/storage-troubleshooting-files-performance#workaround-3
parameters:
  skuName: Premium_LRS
