From 794f1de47aa469fe0a54800bdba28120247311b8 Mon Sep 17 00:00:00 2001 From: makefunstuff Date: Sat, 29 Jun 2024 00:25:37 +0300 Subject: add elastic --- tools/elasticsearch/values.yaml | 46 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) (limited to 'tools/elasticsearch/values.yaml') diff --git a/tools/elasticsearch/values.yaml b/tools/elasticsearch/values.yaml index e69de29..5d8df08 100644 --- a/tools/elasticsearch/values.yaml +++ b/tools/elasticsearch/values.yaml @@ -0,0 +1,46 @@ +elasticsearch: + replicas: 1 + minimumMasterNodes: 1 + esJavaOpts: "-Xmx1g -Xms1g" + 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:9200" ] + logstashPipeline: + logstash.conf: | + input { + tcp { + port => 5044 + codec => json + } + } + output { + elasticsearch { + hosts => ["http://elasticsearch-master:9200"] + index => "logstash-%{+YYYY.MM.dd}" + } + } + labels: + app.kubernetes.io/name: logstash + -- cgit 1.4.1-2-gfad0