about summary refs log tree commit diff
path: root/tools/elasticsearch/values.yaml
blob: b12049683f11f48a1a610682692799e04bfa09ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
elasticsearch:
  sysctlInitContainer:
    enabled: false
  replicas: 1
  minimumMasterNodes: 1
  esJavaOpts: "-Xmx128m -Xms128m"
  esConfig:
    elasticsearch.yml: |
      node.store.allow_mmap: false
  volumeClaimTemplate:
    accessModes: [ "ReadWriteOnce" ]
    resources:
      requests:
        storage: 10Gi
  labels:
    app.kubernetes.io/name: elasticsearch
  networkPolicy:
    http:
      enabled: true
    transport:
      enabled: true

logstash:
  enabled: true
  replicas: 1
  volumeClaimTemplate:
    accessModes: [ "ReadWriteOnce" ]
    resources:
      requests:
        storage: 10Gi
  logstashConfig:
    logstash.yml: |
      http.host: "0.0.0.0"
      xpack.monitoring.elasticsearch.hosts: [ "http://elasticsearch-master.monitoring.svc.cluster.local:9200" ]
  logstashPipeline:
    logstash.conf: |
      input {
        tcp {
          port => 5044
          codec => json
        }
      }
      output {
        elasticsearch {
          hosts => ["http://elasticsearch-master.monitoring.svc.cluster.local:9200"]
          index => "logstash-%{+YYYY.MM.dd}"
        }
      }
  labels:
    app.kubernetes.io/name: logstash
    elasticsearch-master-http-client: "true"