/azurefile-csi-driver

Azure File CSI Driver

Primary LanguageGoApache License 2.0Apache-2.0

Azure File CSI Driver for Kubernetes

Travis Coverage Status FOSSA Status

About

This driver allows Kubernetes to use Azure File volume, csi plugin name: file.csi.azure.com

Project status: GA

Container Images & Kubernetes Compatibility:

Driver Version Image supported k8s version
master branch mcr.microsoft.com/k8s/csi/azurefile-csi:latest 1.18+
v1.3.0 mcr.microsoft.com/k8s/csi/azurefile-csi:v1.3.0 1.18+
v1.2.0 mcr.microsoft.com/k8s/csi/azurefile-csi:v1.2.0 1.17+
v1.1.0 mcr.microsoft.com/k8s/csi/azurefile-csi:v1.1.0 1.16+

Driver parameters

Please refer to driver parameters

Prerequisite

Option#1: Provide cloud provider config with Azure cendentials

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 the volumeMounts.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

Option#2: Bring your own storage account

This option does not depend on cloud provider config file, supports cross subscription and on-premise cluster scenario. Refer to detailed steps.

Install driver on a Kubernetes cluster

  • install by kubectl (please use helm for RedHat/CentOS)
  • install by helm charts (supports RedHat/CentOS)

Examples

Features

Troubleshooting

Support

Kubernetes Development

Please refer to development guide

View CI Results

Check testgrid provider-azure-azurefile-csi-driver dashboard.

Links