kubernetes/examples/storage/persistentvolume-nfs-example.yaml
Chris Alfonso 1a45e37d17 NFSMount storage plugin for kubelet.
* If you want to test this out when an actual NFS export a good place
 to start is by running the NFS server in a container:

docker run -d --name nfs --privileged cpuguy83/nfs-server /tmp

More detail can be found here:
https://github.com/cpuguy83/docker-nfs-server
2015-03-19 13:37:38 -04:00

10 lines
152 B
YAML

id: pv0003
kind: PersistentVolume
apiVersion: v1beta1
spec:
source:
nfsMount:
server: "172.17.0.2"
path: "/tmp"
readOnly: false