/azuredisk-csi-driver

Azure Disk Container Storage Interface (CSI) Storage Plugin

Primary LanguageGoApache License 2.0Apache-2.0

Azure Disk CSI driver for Kubernetes

Travis Coverage Status FOSSA Status

About

This driver allows Kubernetes to use azure disk volume, csi plugin name: disk.csi.azure.com

Container Images & Kubernetes Compatibility

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

Driver parameters

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

storage class disk.csi.azure.com parameters are compatible with built-in azuredisk 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 azuredisk CSI driver on a Kubernetes cluster

Please refer to install azuredisk csi driver

Examples

Troubleshooting

Kubernetes Development

Please refer to development guide

Links