Skip to content
This repository has been archived by the owner on Nov 7, 2018. It is now read-only.

Index templates lost after updating/recreating pods #210

Open
skokovic opened this issue Aug 2, 2018 · 2 comments
Open

Index templates lost after updating/recreating pods #210

skokovic opened this issue Aug 2, 2018 · 2 comments

Comments

@skokovic
Copy link
Contributor

skokovic commented Aug 2, 2018

Hi Paulo!
First of all, I want to say thank you for this amazing project.

I'm at the end of building a production grade ES cluster using pretty much all the components you put out here. After updating all the pods with a plugin (recreating every pod), the index templates seem to be deleted. Those templates are stored in ES through the API using a PUT request. Initially, I thought all data is stored only in the data nodes (pods with data role) but it seems like master nodes also need PV to store that kind of data.

Referencing this discussion: https://discuss.elastic.co/t/index-template-lost-after-recreate-es-cluster-in-kubernetes-environment/83791

Does it make sense to deploy master pods as StatefulSet as well?

@pires
Copy link
Owner

pires commented Aug 2, 2018

Why not? Open to review a PR ;)

@skokovic
Copy link
Contributor Author

skokovic commented Aug 2, 2018

Hehe great! There it is, #211 :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants