aboutsummaryrefslogtreecommitdiff
path: root/app/telemetry/deploy/telemetry.hcl
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-02-26 20:14:55 +0100
committerAlex Auvolat <alex@adnab.me>2022-02-26 20:14:55 +0100
commitbd2abf344915f502693a17a5f141518e1609910d (patch)
tree6c0672bc5fc359e1da276e48abecdf2933b1d8b2 /app/telemetry/deploy/telemetry.hcl
parent8064d91dfb76bc38466b5e9382b4d43f3188a444 (diff)
downloadnixcfg-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.hcl34
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 {