apiVersion: v1
kind: ConfigMap
metadata:
  name: elasticsearch-config
  namespace: efk-log
data:
  elasticsearch.yml: |
    cluster.name: elastic-cluster
    network.host: "0.0.0.0"
    bootstrap.memory_lock: false
    discovery.seed_hosts: "es-cluster-0.elasticsearch,es-cluster-1.elasticsearch,es-cluster-2.elasticsearch"
    cluster.initial_master_nodes: "es-cluster-0,es-cluster-1,es-cluster-2"
    #xpack.license.self_generated.type: basic
    #xpack.monitoring.enabled: true
    #xpack.security.enabled: true
    