Skip to content

Commit

Permalink
fix miss properties "storageClassName" and change nfs-server (#30)
Browse files Browse the repository at this point in the history
* outdated link (#27)

* the page link unused (#26)

* fix error
  • Loading branch information
colindev authored and ahmetb committed Jul 30, 2017
1 parent da5003a commit 9817fc1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion staging/volumes/nfs/nfs-pv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ spec:
nfs:
# FIXME: use the right IP
server: 10.244.1.4
path: "/exports"
path: "/"
3 changes: 2 additions & 1 deletion staging/volumes/nfs/nfs-pvc.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
kind: PersistentVolumeClaim
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: nfs
spec:
accessModes:
- ReadWriteMany
storageClassName: ""
resources:
requests:
storage: 1Mi
2 changes: 1 addition & 1 deletion staging/volumes/nfs/nfs-server-rc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
spec:
containers:
- name: nfs-server
image: gcr.io/google-samples/nfs-server:1.1
image: gcr.io/google_containers/volume-nfs:0.8
ports:
- name: nfs
containerPort: 2049
Expand Down

0 comments on commit 9817fc1

Please sign in to comment.