mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-24 17:00:22 +00:00
20 lines
No EOL
614 B
Markdown
20 lines
No EOL
614 B
Markdown
# Install CSI driver
|
|
```
|
|
curl -skSL https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/v1.13.0/deploy/install-driver.sh | bash -s v1.13.0 --
|
|
```
|
|
|
|
# Create SMB creds
|
|
```
|
|
kubectl create secret generic smbcreds --from-literal username=USERNAME --from-literal password="PASSWORD"
|
|
```
|
|
|
|
# Create storage class
|
|
```
|
|
kubectl create -f https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/deploy/example/storageclass-smb.yaml
|
|
```
|
|
|
|
# Check 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
|
|
``` |