File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
deploy/example/smb-provisioner Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 11## Set up a Samba Server and a deployment to access Samba Server on a Kubernetes cluster
22This page will show you how to:
3- - set up a Samba Server deployment on a Kubernetes cluster, the file share data is stored on local disk.
3+ - set up a Samba Server deployment on a Kubernetes cluster
4+ > file share data is stored on local disk.
45 - set up a deployment to access Samba Server on a Kubernetes cluster
56
6- ### Stey-by-step
7+ ### Set up a Samba Server
78 - Use ` kubectl create secret ` to create ` smbcreds ` with SMB username, password
89``` console
910kubectl create secret generic smbcreds --from-literal username=USERNAME --from-literal password="PASSWORD"
@@ -17,7 +18,7 @@ kubectl create -f https://raw.githubusercontent.com/kubernetes-csi/csi-driver-sm
1718
1819After deployment, a new service ` smb-server ` is created, file share path is ` //smb-server.default.svc.cluster.local/share `
1920
20- - Create a deployment to access above Samba Server
21+ ### Create a deployment to access above Samba Server
2122``` console
2223kubectl create -f https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/deploy/example/smb-provisioner/pv-smb.yaml
2324kubectl create -f https://raw.githubusercontent.com/kubernetes-csi/csi-driver-smb/master/deploy/example/pvc-smb-static.yaml
You can’t perform that action at this time.
0 commit comments