Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Azure Blob Storage CSI driver

License

NotificationsYou must be signed in to change notification settings

kubernetes-sigs/blob-csi-driver

linux build statusCoverage StatusFOSSA StatusArtifact Hub

About

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.

csi plugin name:blob.csi.azure.com

Project status: GA

Container Images & Kubernetes Compatibility:

driver versionImagesupported k8s version
master branchmcr.microsoft.com/k8s/csi/blob-csi:latest1.21+
v1.27.0mcr.microsoft.com/oss/v2/kubernetes-csi/blob-csi:v1.27.01.21+
v1.26.7mcr.microsoft.com/oss/v2/kubernetes-csi/blob-csi:v1.26.71.21+
v1.25.6mcr.microsoft.com/oss/kubernetes-csi/blob-csi:v1.25.61.21+

Driver parameters

Please refer toblob.csi.azure.comdriver parameters

Prerequisites

Option#1: Provide cloud provider config with Azure credentials

  • 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
  • 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
  • Cloud provider config can also be specified via kubernetes secret, check detailshere
  • Make sure identity used by driver hasContributor role on node resource group and virtual network resource group

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 todetailed steps.

Install driver on a Kubernetes cluster

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-downgrades to theBLOBFUSE2_VERSION value, 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"}]}}}}'

Examples

Usage

Troubleshooting

Support

Limitations

Kubernetes Development

View CI Results

Links

About

Azure Blob Storage CSI driver

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp