apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: blob-csi-fuse
provisioner: blob.csi.azure.com
# https://github.com/kubernetes-sigs/blob-csi-driver/blob/master/docs/driver-parameters.md
parameters:
  # protocol: fuse
  protocol: nfs
reclaimPolicy: Retain  # if set as "Delete" container would be removed after pvc deletion
volumeBindingMode: Immediate
allowVolumeExpansion: true
mountOptions:
# fuse:
  # - -o allow_other
  # - --file-cache-timeout-in-seconds=120
  # - --use-attr-cache=true
  # - --cancel-list-on-mount-seconds=60  # prevent billing charges on mounting
  # - -o attr_timeout=120
  # - -o entry_timeout=120
  # - -o negative_timeout=120
  # - --cache-size-mb=1000  # Default will be 80% of available memory, eviction will happen beyond that.
# nfs:
  - nconnect=8  # only supported on linux kernel version >= 5.3