pires/kubernetes-elasticsearch-cluster

Data nodes StatefulSet storageclass ?

Opened this issue · 1 comments

zs787 commented

Hi,

I'm fairly new to using Kubernetes, but I have managed to get a full ELK stack running on a single node, using your solution steps and my docker files.

However, now I would like to keep my data persistent and use StatefulSet data pods, as if I understand this correctly if we lose the es-data pods I will lose my indices. So my question to you is what type of PV you used in your solution i.e. nfs, host-path, cinder...etc. and what provisioner for your storage class. Unfortunately, we are running our cluster on a dedicated hardware as a first step but I also have another multi-node cluster in Openstack.

Or is it possible to approach this using host-path using on a one node Kubernetes cluster deployment, with Statefulset for the data pods ?

Any details or clarification on how I can approach this would be very appreciated.

Thank you!

Also curious what kind of storage class is used for production. NFS was suggested by some to be too slow.