Skip to content

Latest commit

 

History

History
47 lines (40 loc) · 1.9 KB

install-csi-driver-v1.21.5.md

File metadata and controls

47 lines (40 loc) · 1.9 KB

Install Azure Blob Storage CSI driver v1.21.5 version on a kubernetes cluster

blobfuse-proxy is only available for debian based agent nodes, remove blobfuse-proxy parameter in installation steps if it's not applicable.

If you have already installed Helm, you can also use it to install this driver. Please check Installation with Helm.

Install with kubectl

  • Option#1. remote install
curl -skSL https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/v1.21.5/deploy/install-driver.sh | bash -s v1.21.5 blobfuse-proxy --
  • Option#2. local install
git clone https://github.com/kubernetes-sigs/blob-csi-driver.git
cd blob-csi-driver
./deploy/install-driver.sh v1.21.5 local,blobfuse-proxy
  • check pods status:
kubectl -n kube-system get pod -o wide -l app=csi-blob-controller
kubectl -n kube-system get pod -o wide -l app=csi-blob-node

example output:

NAME                                       READY   STATUS    RESTARTS   AGE     IP             NODE
csi-blob-controller-56bfddd689-dh5tk       4/4     Running   0          35s     10.240.0.19    k8s-agentpool-22533604-0
csi-blob-controller-56bfddd689-8pgr4       4/4     Running   0          35s     10.240.0.35    k8s-agentpool-22533604-1
csi-blob-node-cvgbs                        3/3     Running   0          35s     10.240.0.35    k8s-agentpool-22533604-1
csi-blob-node-dr4s4                        3/3     Running   0          35s     10.240.0.4     k8s-agentpool-22533604-0

clean up Blob CSI driver

  • Option#1. remote uninstall
curl -skSL https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/v1.21.5/deploy/uninstall-driver.sh | bash -s v1.21.5 --
  • Option#2. local uninstall
git clone https://github.com/kubernetes-sigs/blob-csi-driver.git
cd blob-csi-driver
git checkout v1.21.5
./deploy/uninstall-driver.sh v1.21.5 local