Skip to content

andyzhangx/azuredisk-csi-driver

This branch is 158 commits behind kubernetes-sigs/azuredisk-csi-driver:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

339de86 · Dec 28, 2024
Nov 27, 2024
Dec 28, 2024
Dec 28, 2024
Nov 15, 2024
Sep 18, 2024
Dec 28, 2024
Dec 22, 2024
Dec 28, 2024
Jan 30, 2021
Sep 18, 2024
Apr 6, 2020
Dec 29, 2018
Dec 17, 2024
Oct 21, 2024
Nov 15, 2024
Jan 4, 2019
Jan 4, 2019
Dec 30, 2018
Dec 28, 2024
Dec 28, 2024
Dec 21, 2020

Repository files navigation

Azure Disk CSI driver for Kubernetes

linux build status windows build status Coverage Status FOSSA Status Artifact Hub

About

This driver allows Kubernetes to access Azure Disk volume, csi plugin name: disk.csi.azure.com, supported accessModes: ReadWriteOnce

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 disk csi driver.

Project status: GA

Container Images & Kubernetes Compatibility

Driver Version Image supported k8s version
master branch mcr.microsoft.com/k8s/csi/azuredisk-csi:latest 1.21+
v1.31.1 mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.31.1 1.21+
v1.30.6 mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.30.6 1.21+
v1.29.11 mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.29.11 1.21+
v1.28.11 mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi:v1.28.11 1.21+

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

  • The driver depends on cloud provider config file (here is config example), config file path on different platforms:
  • specify a different config file path via configmap
    create configmap "azure-cred-file" before driver starts up
    kubectl create configmap azure-cred-file --from-literal=path="/etc/kubernetes/cloud.conf" --from-literal=path-windows="C:\\k\\cloud.conf" -n kube-system
  • edge zone support in cloud provider config
    `extendedLocationType` and `extendedLocationName` should be added into cloud provider config file, available values of `extendedLocationName` are `attatlanta1`, `attdallas1`, `attnewyork1`, `attdetroit1`
    ```"extendedLocationType": "edgezone","extendedLocationName": "attatlanta1",```
  • Cloud provider config can also be specified via kubernetes secret, check details here
  • Make sure identity used by driver has Contributor role on node resource group
    • When install open source driver on the cluster, ensure agentpool service principal or managed service identity is assigned to the Contributor role on the resource group used to store managed disks.

Install driver on a Kubernetes cluster

Examples

Features

Troubleshooting

Support

Limitations

Kubernetes Development

View CI Results

Links

About

Azure Disk Container Storage Interface (CSI) Driver

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 88.6%
  • Shell 8.7%
  • Makefile 2.1%
  • Other 0.6%