clusterName: "elasticsearch"
nodeGroup: "master"
replicas: 3
image: "us.gcr.io/yourpath/elastic/elasticsearch"
imageTag: "7.17.10"
roles:
   master: "true"
   ingest: "false"
   data: "false"
   remote_cluster_client: "false"
   ml: "false"
esJavaOpts: "-Xms1536m -Xmx1536m"
resources:
  requests:
    cpu: 1
    memory: "2Gi"
  limits:
    cpu: 2
    memory: "2Gi"
volumeClaimTemplate:
  accessModes: [ "ReadWriteOnce" ]
  storageClassName: premium-rwo
  resources:
    requests:
      storage: 5Gi
esConfig: 
  elasticsearch.yml: |
      node.attr.env: master
      xpack.monitoring.collection.enabled: false
      ingest.geoip.downloader.enabled: false
      indices.recovery.max_bytes_per_sec: 192mb
nodeAffinity:
  requiredDuringSchedulingIgnoredDuringExecution:
    nodeSelectorTerms:
      - matchExpressions:
        - key: cloud.google.com/gke-nodepool
          operator: In
          values:
            - elastic-auth-pool
            - elastic-live-pool