Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
debianmaster authored Mar 30, 2019
1 parent 6f9bf05 commit 33e7fd4
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions dynamic-nfs-on-openshift/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
> Should have a existing nfs

```sh
mkdir -p /exports/nfs
chown -R nfsnobody:nfsnobody /exports/nfs
chmod 777 -R /exports/nfs
```

> dynamic prov
```sh
oc new-project nfs

mkdir -p /srv #on target server
git clone https://github.com/kubernetes-incubator/external-storage.git
cd external-storage/nfs
kubectl create -f deploy/kubernetes/deployment.yaml
Expand All @@ -23,3 +19,12 @@ oc patch storageclass example-nfs -p '{"metadata":{"annotations":{"storageclass.
```sh
oc annotate ns nfs openshift.io/node-selector="nfs=blr"
```


> Should have a existing nfs
```sh
mkdir -p /exports/nfs
chown -R nfsnobody:nfsnobody /exports/nfs
chmod 777 -R /exports/nfs
```

0 comments on commit 33e7fd4

Please sign in to comment.