I'm using Kubernetes to deploy es cluster and I'm really stuck at stability. (Referenced https://github.com/pires/kubernetes-elasticsearch-cluster)
I have 3 master node and 2 client node deployed as stateless pods (without data persists), and 3 data nodes deployed as statefulset (data persists).
When I first started the cluster, everything is fine. But after delete the whole cluster and start again, all index patterns are lost and all custom templates are gone, I have to re-add them back. So anyone can tell me anything else should I to in Kubernetes to avoid data lose? Thanks a lot.