This driver allows Kubernetes to use Azure File volume, csi plugin name: file.csi.azure.com
Driver Version | Image | supported k8s version |
---|---|---|
master branch | mcr.microsoft.com/k8s/csi/azurefile-csi:latest | 1.18+ |
v1.7.0 | mcr.microsoft.com/k8s/csi/azurefile-csi:v1.7.0 | 1.18+ |
v1.6.0 | mcr.microsoft.com/k8s/csi/azurefile-csi:v1.6.0 | 1.18+ |
v1.5.0 | mcr.microsoft.com/k8s/csi/azurefile-csi:v1.5.0 | 1.18+ |
Please refer to driver parameters
follow guide here
- This option depends on cloud provider config file, usually it's
/etc/kubernetes/azure.json
on all Kubernetes agent 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 - How to set up CSI driver on Azure RedHat OpenShift(ARO)
This option does not depend on cloud provider config file, supports cross subscription and on-premise cluster scenario. Refer to detailed steps.
- install by kubectl (please use helm for RedHat/CentOS)
- install by helm charts (supports RedHat/CentOS)
- Please see our support policy
Please refer to development guide
Check testgrid provider-azure-azurefile-csi-driver dashboard.