kubernetes-elasticsearch-cluster icon indicating copy to clipboard operation
kubernetes-elasticsearch-cluster copied to clipboard

Data nodes StatefulSet storageclass ?

Open zs787 opened this issue 7 years ago • 1 comments

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!

zs787 avatar Dec 12 '17 17:12 zs787

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

bfleming-ciena avatar Apr 13 '18 04:04 bfleming-ciena