# Clustering question. HA cluster with 3 master and only 2 data nodes?

**URL:** https://discuss.elastic.co/t/clustering-question-ha-cluster-with-3-master-and-only-2-data-nodes/191197
**Category:** Elasticsearch
**Created:** [July 18, 2019, 12:46pm UTC](https://discuss.elastic.co/t/clustering-question-ha-cluster-with-3-master-and-only-2-data-nodes/191197 "2019-07-18T12:46:22Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)
#### Post date: [July 18, 2019, 12:46pm UTC](https://discuss.elastic.co/t/clustering-question-ha-cluster-with-3-master-and-only-2-data-nodes/191197/1 "2019-07-18T12:46:22Z")

</div>

Hi, I want to deploy elasticsearch on bare metal kubernetes.  
I will use local storage as there is no fast and (by k8s) manageable storage provider available.

My k8s cluster consists of 5 servers (1 master, 4 workers), 2 of them have enough HDD capacity for elasitcsearch, the other two workers have only one small disk (only good for sstateless pods).  
To learn for production I want to reach HA for my elastic stack, meaning I need at least 3 nodes. To ship around my disk issues, I have following idea, and ask you if that should work:

- server 1
  - big disk, nod
  - node.master: true
  - node.data: true
  - node.ingest: true

- server 2: big disk
  - node.master: true
  - node.data: true
  - node.ingest: true

- server 3: low disk
  - node.master: true
  - node.data: false
  - node.ingest: true

Does it make sense to run ingest on a non data node?  
Would this scenery work?  
Do you see any pitfalls?

I will work with 1 replica only.

Thanks, Andreas

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [August 15, 2019, 12:46pm UTC](https://discuss.elastic.co/t/clustering-question-ha-cluster-with-3-master-and-only-2-data-nodes/191197/2 "2019-08-15T12:46:30Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
