# ElasticSearch Storage and Kubernetes

**URL:** <https://discuss.elastic.co/t/elasticsearch-storage-and-kubernetes/170222>\
**Category:** Elasticsearch\
**Created:** [February 27, 2019, 6:17pm UTC](https://discuss.elastic.co/t/elasticsearch-storage-and-kubernetes/170222 "2019-02-27T18:17:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![beyond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/beyond/32/53327_2.png) [@beyond](https://discuss.elastic.co/u/beyond)\
**Post date:** [February 27, 2019, 6:17pm UTC](https://discuss.elastic.co/t/elasticsearch-storage-and-kubernetes/170222/1 "2019-02-27T18:17:14Z")

</div>

Hello,

i set up on permise Kubernetes Cluster, i would like try run stateful elasticsearch in the cluster , my main concern is the storage how can be shared between the nodes, i thought about setting up GlusterFS, do you know guys if GulsterFS works fine as storage for elasticsearch?

Thanks,  
Zak

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [February 27, 2019, 6:26pm UTC](https://discuss.elastic.co/t/elasticsearch-storage-and-kubernetes/170222/2 "2019-02-27T18:26:52Z")

</div>

GlusterFS is as far as I know not recommended, and there have been reports of issues. Have a look at the following threads:

> [@Elasticsearch run in kubernetes](https://discuss.elastic.co/t/elasticsearch-run-in-kubernetes/160679):
>
> Hi, all I run Elasticsearch 6.2.2 in Kubernetes and use glusterfs as storage backend. When i start is works well, everything looks OK. But run after a while, health of that some indices turned Red. I don't know what happen. I am the beginner for the Elasticsearch. I use local file system as storage backend before, it didn't find this problem. what is the best solution to share the elastic data among all the kubernetes nodes? Thanks. Below is my environments. apiVersion: extensions/v1beta1…

> [@Underlying file changed by an external force](https://discuss.elastic.co/t/underlying-file-changed-by-an-external-force/137555):
>
> Using elasticsearch cluster( 3 servers) with kubernetes, but elasticsearch cluster can not wrok fine and log show as below: [2018-06-27T05:48:31,798][WARN][o.e.c.r.a.AllocationService] [sBJEWnS] failing shard [failed shard, shard [logstash-2018.06.27][4], node[sBJEWnS1R1qL7blJL9Wl0Q], [P], recovery\_source[existing recovery], s[INITIALIZING], a[id=CSql7\_M8QnmfnylNrN-LFQ], unassigned\_info[[reason=ALLOCATION\_FAILED], at[2018-06-27T05:48:30.059Z], failed\_attempts[1], delayed=false, details[failed…

I suspect there might be additional ones if you search the forum.

---

<div class="post-metadata">

**Author:** ![beyond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/beyond/32/53327_2.png) [@beyond](https://discuss.elastic.co/u/beyond)\
**Post date:** [February 27, 2019, 6:29pm UTC](https://discuss.elastic.co/t/elasticsearch-storage-and-kubernetes/170222/3 "2019-02-27T18:29:12Z")

</div>

Any idea which storage solution can i use for on permise Kubernetes that is compatible with elasticsearch?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 27, 2019, 6:29pm UTC](https://discuss.elastic.co/t/elasticsearch-storage-and-kubernetes/170222/4 "2019-03-27T18:29:13Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
