Yes, your understanding of PVs is correct.

You might also want to check out ConfigMap as a means of configuring your
apps.

https://github.com/eBay/Kubernetes/blob/master/docs/proposals/configmap.md

Mark


On Fri, Feb 19, 2016 at 11:29 AM, Marc Boorshtein <[email protected]>
wrote:

> I'm trying to make sure I'm conceptualizing the storage addition to a
> pod.  What I'm trying to do is setup an NFS server that I can provide data
> to pods.  The main idea being that I want to be able to put configuration
> files on the NFS share and have it available as read-only to the pods.
> After going through the documentation and reading through the wordpress
> example I think the process is:
>
> 1.  Create an NFS share (done and tested)
> 2.  In my OS project, create a persistent volume
> 3.  In my OS project, create a claim on the volume
> 4.  Add the claim to a pod definition
>
> This way when i make an update to the files on the share and those updates
> are available to the pods.
>
> Am I thinking about this correctly?
>
> Thanks
> Marc
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to