/azurefile-csi-driver

Azure File Container Storage Interface (CSI) Storage Plugin

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

Container Images & Kubernetes Compatibility:

Azure File CSI Driver Version Image 1.14+
master branch mcr.microsoft.com/k8s/csi/azurefile-csi:latest yes
v0.7.0 mcr.microsoft.com/k8s/csi/azurefile-csi:v0.7.0 yes
v0.6.0 mcr.microsoft.com/k8s/csi/azurefile-csi:v0.6.0 yes

Driver parameters

Please refer to file.csi.azure.com driver parameters

storage class file.csi.azure.com parameters are compatible with built-in azurefile plugin

Prerequisite

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

Install azurefile CSI driver on a kubernetes cluster

Please refer to install azurefile csi driver

Examples

Features

Troubleshooting

Kubernetes Development

Please refer to development guide

Links