diff options
author | makefunstuff <[email protected]> | 2024-06-29 14:18:11 +0200 |
---|---|---|
committer | makefunstuff <[email protected]> | 2024-06-29 14:18:11 +0200 |
commit | 317fd9ffab1c3d9a00a75fe26249d29fd14786e8 (patch) | |
tree | 556550c970765dfb818125ddaf7208ce83c67286 | |
parent | 98a654bd9a944e98a1452e0a51c15ddc0817aa48 (diff) | |
download | k3s-lab-317fd9ffab1c3d9a00a75fe26249d29fd14786e8.tar.gz |
Gave up with elasticsearch will migrate to loki stack
Diffstat (limited to '')
-rw-r--r-- | cd/tools.yaml | 2 | ||||
-rw-r--r-- | tools/elasticsearch/Chart.yaml | 11 | ||||
-rw-r--r-- | tools/elasticsearch/values.yaml | 50 |
3 files changed, 0 insertions, 63 deletions
diff --git a/cd/tools.yaml b/cd/tools.yaml index eda55e4..7cdd906 100644 --- a/cd/tools.yaml +++ b/cd/tools.yaml @@ -11,8 +11,6 @@ spec: path: tools/grafana - chart: prometheus path: tools/prometheus - - chart: elasticsearch - path: tools/elasticsearch template: metadata: name: '{{chart}}' diff --git a/tools/elasticsearch/Chart.yaml b/tools/elasticsearch/Chart.yaml deleted file mode 100644 index 12c6cca..0000000 --- a/tools/elasticsearch/Chart.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: v2 -name: elasticsearch-logstash -description: A Helm chart for deploying Elasticsearch and Logstash -version: 0.1.0 -dependencies: - - name: elasticsearch - version: 8.5.1 - repository: "https://helm.elastic.co" - - name: logstash - version: 8.5.1 - repository: "https://helm.elastic.co" diff --git a/tools/elasticsearch/values.yaml b/tools/elasticsearch/values.yaml deleted file mode 100644 index 61c7520..0000000 --- a/tools/elasticsearch/values.yaml +++ /dev/null @@ -1,50 +0,0 @@ -elasticsearch: - antiAffinity: "soft" - replicas: 3 - minimumMasterNodes: 2 - 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" |