# I lose all my data when master node restarts

**URL:** <https://discuss.elastic.co/t/i-lose-all-my-data-when-master-node-restarts/334410>\
**Category:** Elasticsearch\
**Created:** [May 26, 2023, 9:36am UTC](https://discuss.elastic.co/t/i-lose-all-my-data-when-master-node-restarts/334410 "2023-05-26T09:36:49Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![daniela09](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/daniela09/32/120636_2.png) [@daniela09](https://discuss.elastic.co/u/daniela09)\
**Post date:** [May 26, 2023, 10:42am UTC](https://discuss.elastic.co/t/i-lose-all-my-data-when-master-node-restarts/334410/3 "2023-05-26T10:42:28Z")

</div>

Yes my master node doesn't have persistent storage, thank you I will add now.  
And how can I add one more master node, so when this one disappears my cluster can continue operating?

I am using Deployment, ConfigMap and Service to deploy the master node, I just need to add replicas: 2 in my Deployment or it needs to be done some other way?

---

_[View the full topic](https://discuss.elastic.co/t/i-lose-all-my-data-when-master-node-restarts/334410)._
