Skip to content

Latest commit

 

History

History
45 lines (38 loc) · 1.77 KB

install-csi-driver-v1.14.0.md

File metadata and controls

45 lines (38 loc) · 1.77 KB

Install SMB CSI driver v1.14.0 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-csi/csi-driver-smb/v1.14.0/deploy/install-driver.sh | bash -s v1.14.0 --
  • Option#2. local install
git clone https://github.com/kubernetes-csi/csi-driver-smb.git
cd csi-driver-smb
git checkout v1.14.0
./deploy/install-driver.sh v1.14.0 local
  • check pods status:
kubectl -n kube-system get pod -o wide --watch -l app=csi-smb-controller
kubectl -n kube-system get pod -o wide --watch -l app=csi-smb-node

example output:

NAME                                        READY   STATUS    RESTARTS   AGE     IP            NODE                                NOMINATED NODE   READINESS GATES
csi-smb-controller-788486959d-5qmn7         3/3     Running   0          23s     10.244.0.45   aks-agentpool-60632172-vmss000006   <none>           <none>
csi-smb-node-4gwzl                          3/3     Running   0          15s     10.244.1.34   aks-agentpool-60632172-vmss000007   <none>           <none>
csi-smb-node-hg76w                          3/3     Running   0          27s     10.244.0.44   aks-agentpool-60632172-vmss000006   <none>           <none>

clean up SMB CSI driver

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