# Downsize Elastic Cluster

**URL:** <https://discuss.elastic.co/t/downsize-elastic-cluster/309454>\
**Category:** Elasticsearch\
**Created:** [July 12, 2022, 6:44pm UTC](https://discuss.elastic.co/t/downsize-elastic-cluster/309454 "2022-07-12T18:44:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marshall99](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marshall99/32/98140_2.png) [@marshall99](https://discuss.elastic.co/u/marshall99)\
**Post date:** [July 12, 2022, 6:44pm UTC](https://discuss.elastic.co/t/downsize-elastic-cluster/309454/1 "2022-07-12T18:44:10Z")

</div>

We have a 6 node elastic cluster on bare metal that was installed by way of helm 7.10.0  
We are looking to downsize the cluster from 6 nodes to 3. The 3 that are being decommissioned have the master pods on them along with data pods.  
Are these steps sufficient in moving those pods off those nodes and having them rescheduled on the 3 nodes that are schedulable?  
Are there any steps needed for the pv's | shards etc?

1. cluster.routing.allocation.enable" : "all"
2. Taint the nodes noschedule (nodes being decommissioned)
3. Rolling restart of master statefulset
4. Rolling restart of data statefulset  
Thoughts??  
Thanks so much

---

<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 9, 2022, 6:44pm UTC](https://discuss.elastic.co/t/downsize-elastic-cluster/309454/2 "2022-08-09T18:44:42Z")

</div>

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