azuredisk-csi-driver

module
v1.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2021 License: Apache-2.0

README

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

Project status: GA
Container Images & Kubernetes Compatibility
Driver Version Image supported k8s version
master branch mcr.microsoft.com/k8s/csi/azuredisk-csi:latest 1.18+
v1.5.1 mcr.microsoft.com/k8s/csi/azuredisk-csi:v1.5.1 1.18+
v1.4.0 mcr.microsoft.com/k8s/csi/azuredisk-csi:v1.4.0 1.18+
v1.2.0 mcr.microsoft.com/k8s/csi/azuredisk-csi:v1.2.0 1.17+
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

Set up CSI driver on AKS cluster (only for AKS users)

follow guide here

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 driver on a Kubernetes cluster
  • install via kubectl on public Azure (please use helm for Azure Stack, RedHat/CentOS)
  • install via helm charts on public Azure, Azure Stack, RedHat/CentOS
Examples
Features
Troubleshooting
Support
Limitations

Kubernetes Development

View CI Results

Directories

Path Synopsis
hack
pkg
azuredisk/mockcorev1
Package mockcorev1 implements the mock client for corev1.
Package mockcorev1 implements the mock client for corev1.
azuredisk/mockkubeclient
Package mockkubeclient implements the mock client for kubeclient.
Package mockkubeclient implements the mock client for kubeclient.
azuredisk/mockpersistentvolume
Package mockpersistentvolume implements the mock client for persistentvolumegetter.
Package mockpersistentvolume implements the mock client for persistentvolumegetter.
test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL