From 1b4f96ffb2fb4130102955fdf1b152c6d56ee0f8 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 4 May 2022 15:32:51 +0200 Subject: [PATCH] Fix telemetry --- app/telemetry/deploy/telemetry-system.hcl | 2 +- cluster/staging/cluster.nix | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/telemetry/deploy/telemetry-system.hcl b/app/telemetry/deploy/telemetry-system.hcl index 79e0855..cb39bac 100644 --- a/app/telemetry/deploy/telemetry-system.hcl +++ b/app/telemetry/deploy/telemetry-system.hcl @@ -40,7 +40,7 @@ node.name={{ env "attr.unique.hostname" }} http.port=9200 transport.port=9300 cluster.name=es-deuxfleurs -cluster.initial_master_nodes=caribou,cariacou,carcajou +cluster.initial_master_nodes=carcajou,caribou,cariacou discovery.seed_hosts=carcajou,caribou,cariacou bootstrap.memory_lock=true xpack.security.enabled=true diff --git a/cluster/staging/cluster.nix b/cluster/staging/cluster.nix index 5007815..fbacbc5 100644 --- a/cluster/staging/cluster.nix +++ b/cluster/staging/cluster.nix @@ -22,6 +22,12 @@ "10.14.252.121" # carcajou ]; + networking.extraHosts = '' +10.14.181.82 caribou +10.14.179.56 cariacou +10.14.242.121 carcajou + ''; + deuxfleurs.admin_accounts = { lx = [ # Keys for accessing nodes from outside