storage class
file.csi.azure.com
parameters are compatible with built-in azurefile plugin
- Dynamic Provisioning
get a quick example here
Name | Meaning | Example | Mandatory | Default value |
---|---|---|---|---|
skuName | azure file storage account type (alias: storageAccountType ) |
Standard_LRS , Standard_GRS , Standard_RAGRS |
No | Standard_LRS |
storageAccount | specify the storage account name in which azure file share will be created | STORAGE_ACCOUNT_NAME | No | if empty, driver will find a suitable storage account that matches skuName in the same resource group; if a storage account name is provided, it means that storage account must exist otherwise there would be error |
location | specify the location in which azure file share will be created | eastus , westus , etc. |
No | if empty, driver will use the same location name as current k8s cluster |
resourceGroup | specify the resource group in which azure file share will be created | existing resource group name | No | if empty, driver will use the same resource group name as current k8s cluster |
shareName | specify the azure file share name | existing azure file name | No | if empty, driver will generate an azure file share name |
- Static Provisioning(use existing azure file)
get a quick example here
Name | Meaning | Available Value | Mandatory | Default value |
---|---|---|---|---|
volumeAttributes.sharename | azure file share name | existing azure file share name | Yes | |
nodePublishSecretRef.name | secret name that stores storage account name and key | existing secret name | Yes | |
nodePublishSecretRef.namespace | namespace where the secret is | k8s namespace | No | default |