# ECK where to put elasticsearch.yaml settings

**URL:** <https://discuss.elastic.co/t/eck-where-to-put-elasticsearch-yaml-settings/303967>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [May 4, 2022, 3:48pm UTC](https://discuss.elastic.co/t/eck-where-to-put-elasticsearch-yaml-settings/303967 "2022-05-04T15:48:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Doc\_Kaos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/doc_kaos/32/53671_2.png) [@Doc\_Kaos](https://discuss.elastic.co/u/Doc_Kaos)\
**Post date:** [May 4, 2022, 3:48pm UTC](https://discuss.elastic.co/t/eck-where-to-put-elasticsearch-yaml-settings/303967/1 "2022-05-04T15:48:29Z")

</div>

Is this not the correct place for configuration within Helm? I'm still seeing the default settings when doing a `GET /_cluster/settings?include_defaults` such as `auto_create_index: true` and `disk.watermark.low: 85%` ...

```auto
apiVersion: elasticsearch.k8s.elastic.co/v1
kind: Elasticsearch
metadata:
  name: clusterino
  namespace: {{ .Release.Namespace }}
  # Mark for Metrics beat to scrape
  labels:
    scrape: {{ .Release.Namespace }}-es
spec:
  version: {{ .Values.es_version }}
  nodeSets:
    - name: masters
      count: 3
      config:
        action.auto_create_index: ".security,.monitoring*,.watches,.triggered_watches,.watcher-history-*,.ml*,filebeat-*"
        cluster.routing.allocation.node_initial_primaries_recoveries: 4
        cluster.routing.allocation.node_concurrent_recoveries: 2
        cluster.routing.allocation.disk.threshold_enabled: true
        cluster.routing.allocation.disk.watermark.low: "88%"
        cluster.routing.allocation.disk.watermark.high: "90%"
        cluster.routing.allocation.disk.watermark.flood_stage: "95%"
        indices.memory.index_buffer_size: "30%"
        indices.breaker.total.use_real_memory: false
        node.roles: ["master"]
        xpack.ml.enabled: false

```

---

<div class="post-metadata">

**Author:** ![michael.morello](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael.morello/32/47448_2.png) [@michael.morello](https://discuss.elastic.co/u/michael.morello)\
**Post date:** [May 10, 2022, 7:32am UTC](https://discuss.elastic.co/t/eck-where-to-put-elasticsearch-yaml-settings/303967/2 "2022-05-10T07:32:33Z")

</div>

Hi,

The settings in the `config` section must be applied to all the nodes, did you set them in all the `nodeSets`?

---

<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:** [June 7, 2022, 7:32am UTC](https://discuss.elastic.co/t/eck-where-to-put-elasticsearch-yaml-settings/303967/3 "2022-06-07T07:32:48Z")

</div>

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