Skip to content

kubernetes-sigs/blob-csi-driver

Repository files navigation

Azure Blob Storage CSI driver for Kubernetes

Travis Coverage Status FOSSA Status

About

This driver allows Kubernetes to access Azure Storage through one of following methods:

csi plugin name: blob.csi.azure.com

Project status: GA

Container Images & Kubernetes Compatibility:

driver version Image supported k8s version built-in blobfuse version
master branch mcr.microsoft.com/k8s/csi/blob-csi:latest 1.18+ 1.3.7
v1.3.0 mcr.microsoft.com/k8s/csi/blob-csi:v1.3.0 1.18+ 1.3.7
v1.1.0 mcr.microsoft.com/k8s/csi/blob-csi:v1.1.0 1.17+ 1.3.7
v1.0.0 mcr.microsoft.com/k8s/csi/blob-csi:v1.0.0 1.16+ 1.3.6

Driver parameters

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

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

follow guide here

Prerequisites

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 via kubectl on public Azure (please use helm for Azure Stack, RedHat/CentOS)

  • install via helm charts on public Azure, Azure Stack, RedHat/CentOS

  • (Preview) install blobfuse-proxy to make blobfuse mount still available after driver restart

Usage

Troubleshooting

Support

Limitations

Kubernetes Development

View CI Results

Links