title: How to share storage between Kubernetes pods?
body: <p>I am evaluating Kubernetes as a platform for our new application. For now, it looks all very exciting!  However, I’m running into a problem: I’m hosting my cluster on GCE and I need some mechanism to share storage between two pods - the continous integration server and my application server. What’s the best way for doing this with kubernetes? None of the volume types seems to fit my needs, since GCE disks can’t be shared if one pod needs to write to the disk. NFS would be perfect, but seems to require special build options for the kubernetes cluster?</p>
  
  <p>EDIT: Sharing storage seems to be a problem that I have encountered multiple times now using Kubernetes. There are multiple use cases where I'd just like to have one volume and hook it up to multiple pods (with write access). I can only assume that this would be a common use case, no?</p>
  
  <p>EDIT2: For example, <a href="http://kubernetes.io/v1.0/examples/elasticsearch/README.html">this page</a> describes how to set up an Elasticsearch cluster, but wiring it up with persistent storage is impossible (<a href="https://github.com/pires/kubernetes-elasticsearch-cluster/issues/2">as described here</a>), which kind of renders it pointless :(</p>