Skip to content

Latest commit

 

History

History
45 lines (38 loc) · 1.67 KB

install-csi-driver-v1.29.9.md

File metadata and controls

45 lines (38 loc) · 1.67 KB

Install azurefile CSI driver v1.29.9 version on a Kubernetes cluster

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

Install by kubectl

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

example output:

NAME                                            READY   STATUS    RESTARTS   AGE     IP             NODE
csi-azurefile-controller-56bfddd689-dh5tk       6/6     Running   0          35s     10.240.0.19    k8s-agentpool-22533604-0
csi-azurefile-node-cvgbs                        3/3     Running   0          7m4s    10.240.0.35    k8s-agentpool-22533604-1
csi-azurefile-node-dr4s4                        3/3     Running   0          7m4s    10.240.0.4     k8s-agentpool-22533604-0

clean up CSI driver

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