ECK where to put elasticsearch.yaml settings

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% ...

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

Hi,

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

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