This driver allows Kubernetes to access Azure File volume using smb and nfs protocols, csi plugin name: file.csi.azure.com
.
Please be aware that this driver only permits the mounting of SMB file shares using key-based (NTLM v2) authentication, and therefore does not support the maximum security profile of Azure File share settings. On the other hand, mounting NFS file shares does not require key-based authentication.
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.30.5 | mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.30.5 | 1.21+ |
v1.29.7 | mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.29.7 | 1.21+ |
v1.28.12 | mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi:v1.28.12 | 1.21+ |
Please refer to driver parameters
/etc/kubernetes/azure.json
/etc/kubernetes/cloud.conf
kubectl create configmap azure-cred-file --from-literal=path="/etc/kubernetes/cloud.conf" --from-literal=path-windows="C:\\k\\cloud.conf" -n kube-system
Contributor
role on node resource group and virtual network resource groupThis option does not depend on cloud provider config file, supports cross subscription and on-premise cluster scenario. Refer to detailed steps.
Please refer to development guide
Check testgrid provider-azure-azurefile-csi-driver dashboard.