- Notifications
You must be signed in to change notification settings - Fork93
Azure Blob Storage CSI driver
License
kubernetes-sigs/blob-csi-driver
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This driver allows Kubernetes to access Azure Storage through one of following methods:
Disclaimer: Deploying this driver manually is not an officially supported Microsoft product. For a fully managed and supported experience on Kubernetes, useAKS with the managed blob csi driver.
| driver version | Image | supported k8s version |
|---|---|---|
| master branch | mcr.microsoft.com/k8s/csi/blob-csi:latest | 1.21+ |
| v1.27.0 | mcr.microsoft.com/oss/v2/kubernetes-csi/blob-csi:v1.27.0 | 1.21+ |
| v1.26.7 | mcr.microsoft.com/oss/v2/kubernetes-csi/blob-csi:v1.26.7 | 1.21+ |
| v1.25.6 | mcr.microsoft.com/oss/kubernetes-csi/blob-csi:v1.25.6 | 1.21+ |
Please refer toblob.csi.azure.comdriver parameters
- This option depends oncloud provider config file (here isconfig example), config file path on different clusters:
- AKS,capz,aks-engine:
/etc/kubernetes/azure.json - Azure RedHat OpenShift:
/etc/kubernetes/cloud.conf
- AKS,capz,aks-engine:
specify a different config file path via configmap
create configmap "azure-cred-file" before driver starts upkubectl create configmap azure-cred-file --from-literal=path="/etc/kubernetes/cloud.conf" --from-literal=path-windows="C:\\k\\cloud.conf" -n kube-system
- Cloud provider config can also be specified via kubernetes secret, check detailshere
- Make sure identity used by driver has
Contributorrole on node resource group and virtual network resource group
This option does not depend on cloud provider config file, supports cross subscription and on-premise cluster scenario. Refer todetailed steps.
Execute following command to install a specific version of blobfuse v2 once driver is running on the agent node:
kubectl patch daemonset csi-blob-node -n kube-system -p '{"spec":{"template":{"spec":{"initContainers":[{"env":[{"name":"INSTALL_BLOBFUSE2","value":"true"},{"name":"BLOBFUSE2_VERSION","value":"2.5.1"}],"name":"install-blobfuse-proxy"}]}}}}'If you want to install a lower version of blobfuse2 than the current version, you can add
--allow-downgradesto theBLOBFUSE2_VERSIONvalue, e.g.kubectl patch daemonset csi-blob-node -n kube-system -p '{"spec":{"template":{"spec":{"initContainers":[{"env":[{"name":"INSTALL_BLOBFUSE2","value":"true"},{"name":"BLOBFUSE2_VERSION","value":"2.3.0 --allow-downgrades"}],"name":"install-blobfuse-proxy"}]}}}}'
- install byhelm charts
- install bykubectl
- install open source CSI driver on following platforms:
- install managed CSI driver on following platforms:
- Please see oursupport policy
- Please refer toAzure Blob Storage CSI Driver Limitations
- Please refer todevelopment guide
- Check testgridprovider-azure-blobfuse-csi-driver dashboard.
About
Azure Blob Storage CSI driver
Topics
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.