> Those two should give a good overview of the available options. Basically, you can use local paths, NFS shares, vendor-specific storage (e.g. AWS EBS) and various other things.
Yeah, but which of them actually work?
> Yeah, but which of them actually work?
And on top of that, which of them work when scaling the app out. In other words: how does each option deal with having multiple containers mount it.
edit:
From this link -- http://kubernetes.io/docs/user-guide/volumes/#types-of-volum... -- I found that the following volumes allow mounting by multiple writers: nfs, glusterfs and cephfs.
But which one of these works well under (production) load?
There is no single "production load"; everyone's load is different, so you'll have to try it and measure. This is always the case with any storage system.
Re:Kubernetes – The Hard Way
by ThePhysicist on Monday September 12, 2016 @07:28AM
(#12478775)
It depends on the environment: If you're on AWS, you can use EBS, if you have an NFS share you can use that. In the simplest case, you can just a `hostPath` volume to mount a local directory from the pod's host.
If you're on GCE or AWS, GCE PDs or AWS EBS works out-of-the-box (i.e. using kube-up, kops or kube-aws on AWS, kube-up or GKE on GCE).
Everything should work, but it's harder to validate / work around every NFS server's possible set of configuration options (for example).
http://kubernetes.io/docs/user-guide/persistent-volumes/#par...
as well as the "volume management" section:
http://kubernetes.io/docs/user-guide/volumes/#types-of-volum...
Those two should give a good overview of the available options. Basically, you can use local paths, NFS shares, vendor-specific storage (e.g. AWS EBS) and various other things.