disk.csi.azure.com
driver parameters
get an example
Name | Meaning | Available Value | Mandatory | Default value |
---|---|---|---|---|
skuName | azure disk storage account type (alias: storageAccountType ) |
Standard_LRS , Premium_LRS , StandardSSD_LRS , UltraSSD_LRS , Premium_ZRS , StandardSSD_ZRS |
No | StandardSSD_LRS |
kind | managed or unmanaged(blob based) disk | managed (dedicated , shared are deprecated) |
No | managed |
fsType | File System Type | ext4 , ext3 , ext2 , xfs |
No | ext4 |
cachingMode | Azure Data Disk Host Cache Setting | None , ReadOnly , ReadWrite |
No | ReadOnly |
storageAccount | specify the storage account name in which azure disk will be created | STORAGE_ACCOUNT_NAME | No | if empty, driver will find a suitable storage account that matches skuName in the same resource group as current k8s cluster |
location | specify the Azure location in which azure disk 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 disk will be created | existing resource group name | No | if empty, driver will use the same resource group name as current k8s cluster |
DiskIOPSReadWrite | UltraSSD disk IOPS Capability (minimum: 2 IOPS/GiB ) | 100~160000 | No | 500 |
DiskMBpsReadWrite | UltraSSD disk Throughput Capability(minimum: 0.032/GiB) | 1~2000 | No | 100 |
LogicalSectorSize | Logical sector size in bytes for Ultra disk. Supported values are 512 ad 4096. 4096 is the default. | 512 , 4096 |
No | 4096 |
tags | azure disk tags | tag format: key1=val1,key2=val2 |
No | "" |
diskEncryptionSetID | ResourceId of the disk encryption set to use for enabling encryption at rest | format: /subscriptions/{subs-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSet-name} |
No | "" |
writeAcceleratorEnabled | Write Accelerator on Azure Disks | true , false |
No | "" |
perfProfile | disk device performance profile | none , basic |
No | none |
networkAccessPolicy | NetworkAccessPolicy property to prevent anybody from generating the SAS URI for a disk or a snapshot | AllowAll , DenyAll , AllowPrivate |
No | AllowAll |
diskAccessID | ARM id of the DiskAccess resource for using private endpoints on disks | No | `` | |
enableBursting | enable on-demand bursting beyond the provisioned performance target of the disk. On-demand bursting only be applied to Premium disk, disk size > 512GB, Ultra & shared disk is not supported. Bursting is disabled by default. | true , false |
No | false |
- disk created by dynamic provisioning
- disk name format(example):
pvc-e132d37f-9e8f-434a-b599-15a4ab211b39
- tags format(example):
- disk name format(example):
created-by: kubernetes-azure-dd
kubernetes.io-created-for-pv-name: pvc-e132d37f-9e8f-434a-b599-15a4ab211b39
kubernetes.io-created-for-pvc-name: pvc-azuredisk
kubernetes.io-created-for-pvc-namespace: default
get an example
Name | Meaning | Available Value | Mandatory | Default value |
---|---|---|---|---|
volumeHandle | Azure disk URI | /subscriptions/{sub-id}/resourcegroups/{group-name}/providers/microsoft.compute/disks/{disk-id} | Yes | N/A |
volumeAttributes.fsType | File System Type | ext4 , ext3 , xfs |
No | ext4 |
volumeAttributes.partition | partition num of the existing disk | 1 , 2 , 3 |
No | empty(no partition) - make sure partition format is like -part1 |
volumeAttributes.cachingMode | disk host cache setting | None , ReadOnly , ReadWrite |
No | ReadOnly |
Name | Meaning | Available Value | Mandatory | Default value |
---|---|---|---|---|
resourceGroup | resource group for storing snapshot shots | EXISTING RESOURCE GROUP | No | If not specified, snapshot will be stored in the same resource group as source Azure disk |
incremental | take full or incremental snapshot | true , false |
No | true |
tags | azure disk tags | tag format: 'key1=val1,key2=val2' | No | "" |