# Shards on Kubernets

**URL:** https://discuss.elastic.co/t/shards-on-kubernets/212697
**Category:** Elasticsearch
**Created:** [December 20, 2019, 6:57pm UTC](https://discuss.elastic.co/t/shards-on-kubernets/212697 "2019-12-20T18:57:26Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![SadeekM](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sadeekm/32/59795_2.png) [@SadeekM](https://discuss.elastic.co/u/SadeekM)
#### Post date: [December 20, 2019, 6:57pm UTC](https://discuss.elastic.co/t/shards-on-kubernets/212697/1 "2019-12-20T18:57:26Z")

</div>

Hi, I have 12 Node Elastic Container running on, but issue is it's having 1 shard for each new data Set I tried to update using below command.

Command  
curl -XPUT "[http://IPAddress](http://IPAddress):PortNumber/\_all/\_settings?" -H 'Content-Type: application/json' -d' {"index.number\_of\_replicas" : "1","index.number\_of\_shards" : "4"}'

but it didn't work. Any help/hint appreciated in advance.

Thank You.  
SM

---

<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: [January 17, 2020, 6:57pm UTC](https://discuss.elastic.co/t/shards-on-kubernets/212697/2 "2020-01-17T18:57:36Z")

</div>

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