diff options
author | Alex Auvolat <alex@adnab.me> | 2022-02-26 20:14:55 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-02-26 20:14:55 +0100 |
commit | bd2abf344915f502693a17a5f141518e1609910d (patch) | |
tree | 6c0672bc5fc359e1da276e48abecdf2933b1d8b2 /app/telemetry/deploy/telemetry.hcl | |
parent | 8064d91dfb76bc38466b5e9382b4d43f3188a444 (diff) | |
download | nixcfg-bd2abf344915f502693a17a5f141518e1609910d.tar.gz nixcfg-bd2abf344915f502693a17a5f141518e1609910d.zip |
Have an ElasticSearch cluster
Diffstat (limited to 'app/telemetry/deploy/telemetry.hcl')
-rw-r--r-- | app/telemetry/deploy/telemetry.hcl | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/app/telemetry/deploy/telemetry.hcl b/app/telemetry/deploy/telemetry.hcl index 48ea4ea..90cde54 100644 --- a/app/telemetry/deploy/telemetry.hcl +++ b/app/telemetry/deploy/telemetry.hcl @@ -15,9 +15,6 @@ job "telemetry" { port "otel_grpc" { static = 4317 } - port "elastic" { - static = 9200 - } port "kibana" { static = 5601 } @@ -54,37 +51,6 @@ job "telemetry" { } } - task "elastic" { - driver = "docker" - config { - image = "docker.elastic.co/elasticsearch/elasticsearch:7.17.0" - network_mode = "host" - volumes = [ - "/mnt/ssd/telemetry/es_data:/usr/share/elasticsearch/data", - ] - ports = [ "elastic" ] - } - - resources { - memory = 2500 - cpu = 500 - } - - template { - data = <<EOH -node.name=elastic -http.port=9200 -cluster.name=es-docker-cluster -discovery.type=single-node -bootstrap.memory_lock=true -xpack.security.enabled=true -ES_JAVA_OPTS=-Xms512m -Xmx512m -EOH - destination = "secrets/env" - env = true - } - } - task "kibana" { driver = "docker" config { |