This driver allows Kubernetes to use azure disk volume, csi plugin name: disk.csi.azure.com
Azure Disk CSI Driver Version | Image | 1.14+ |
---|---|---|
master branch | mcr.microsoft.com/k8s/csi/azuredisk-csi:latest | yes |
v0.7.0 | mcr.microsoft.com/k8s/csi/azuredisk-csi:v0.7.0 | yes |
v0.6.0 | mcr.microsoft.com/k8s/csi/azuredisk-csi:v0.6.0 | yes |
Please refer to disk.csi.azure.com
driver parameters
storage class
disk.csi.azure.com
parameters are compatible with built-in azuredisk plugin
- The driver depends on cloud provider config file, usually it's
/etc/kubernetes/azure.json
on all kubernetes nodes deployed by AKS or aks-engine, here is azure.json example.
To specify a different cloud provider config file, create
azure-cred-file
configmap before driver installation, e.g. for OpenShift, it's/etc/kubernetes/cloud.conf
(make sure config file path is in thevolumeMounts.mountPath
)kubectl create configmap azure-cred-file --from-literal=path="/etc/kubernetes/cloud.conf" --from-literal=path-windows="C:\\k\\cloud.conf" -n kube-system
- This driver also supports read cloud config from kuberenetes secret.
- If cluster identity is Managed Service Identity(MSI), make sure user assigned identity has
Contributor
role on node resource group
Please refer to install azuredisk csi driver
- Topology(Availability Zone)
- Snapshot
- Volume Cloning
- Volume Expansion
- Raw Block Volume
- Windows
- Shared Disk
Please refer to development guide