Skip to content

Commit 6d84f18

Browse files
authored
Merge pull request #728 from kpol-lgx/master
Update README.md
2 parents 50ece6e + d39a772 commit 6d84f18

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

deploy/example/nfs-provisioner/README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,23 @@ There are multiple different NFS servers you can use for testing of
66
the plugin, the major versions of the protocol v2, v3 and v4 should be supported
77
by the current implementation. This page will show you how to set up a NFS Server deployment on a Kubernetes cluster.
88

9-
- To create a NFS provisioner on your Kubernetes cluster, run the following command.
9+
- (For linux/amd64) To create a NFS provisioner on your Kubernetes cluster, run the following command.
1010

1111
```bash
1212
kubectl create -f https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/deploy/example/nfs-provisioner/nfs-server.yaml
1313
```
1414

15+
- (For linux/arm) To create a NFS provisioner on your Kubernetes cluster, run the following command.
16+
17+
```bash
18+
git clone https://github.com/sjiveson/nfs-server-alpine.git
19+
cd nfs-server-alpine
20+
docker built -t <your-name>/nfs-server-alpine:latest-arm .
21+
wget https://raw.githubusercontent.com/kubernetes-csi/csi-driver-nfs/master/deploy/example/nfs-provisioner/nfs-server.yaml
22+
sed -i 's/<your-name>/itsthenetwork/' nfs-server.yaml
23+
kubectl create -f nfs-server.yaml
24+
```
25+
1526
- During the deployment, a new service `nfs-server` will be created which exposes the NFS server endpoint `nfs-server.default.svc.cluster.local` and the share path `/`. You can specify `PersistentVolume` or `StorageClass` using these information.
1627

1728
- Deploy the NFS CSI driver, please refer to [install NFS CSI driver](../../../docs/install-nfs-csi-driver.md).

0 commit comments

Comments
 (0)