I’ve been using different volume types for storage in my
cluster. I wrote two posts about it: GlusterFS On Kubernetes ARM and Storage for your cluster a year ago. All solutions adds complexity
to the cluster, the one that’s been easiest to handle is
nfs isn’t transparent enough. I always seems to end up in strange corner cases where it’s
not working as expected. The
emptyDir volume type let’s you mount an empty
directory from the host in to your Pod. But when the Pod goes away, so does your
volume, leaving you with nothing.