This driver allows Kubernetes to access Azure File volume using smb and nfs protocols, csi plugin name: file.csi.azure.com
Disclaimer: Deploying this driver manually is not an officially supported Microsoft product. For a fully managed and supported experience on Kubernetes, use AKS with the managed Azure file csi driver.
Driver Version | Image | supported k8s version |
---|---|---|
master branch | mcr.microsoft.com/k8s/csi/azurefile-csi:latest | 1.21+ |
v1.28.0 | mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.28.0 | 1.21+ |
v1.27.0 | mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.27.0 | 1.21+ |
v1.26.3 | mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.26.3 | 1.21+ |
Please refer to driver parameters
- This option depends on cloud provider config file (here is config example), config file path on different clusters:
- AKS, capz, aks-engine:
/etc/kubernetes/azure.json
- Azure RedHat OpenShift:
/etc/kubernetes/cloud.conf
- AKS, capz, aks-engine:
-
specify a different config file path via configmap
create configmap "azure-cred-file" before driver starts upkubectl create configmap azure-cred-file --from-literal=path="/etc/kubernetes/cloud.conf" --from-literal=path-windows="C:\\k\\cloud.conf" -n kube-system
- Cloud provider config can also be specified via kubernetes secret, check details here
- Make sure identity used by driver has
Contributor
role on node resource group and virtual network resource group
This option does not depend on cloud provider config file, supports cross subscription and on-premise cluster scenario. Refer to detailed steps.
- install by helm charts
- install by kubectl
- install open source CSI driver on following platforms:
- install managed CSI driver on following platforms:
- Please see our support policy
Please refer to development guide
Check testgrid provider-azure-azurefile-csi-driver dashboard.