aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-05-04 15:32:51 +0200
committerAlex Auvolat <alex@adnab.me>2022-05-04 15:32:51 +0200
commit1b4f96ffb2fb4130102955fdf1b152c6d56ee0f8 (patch)
treeb547bcea9d706551bbb18a84a5e73488a1b80063
parentd9e2465e282152f32e704b5a7d9c53c0021d46bd (diff)
downloadnixcfg-1b4f96ffb2fb4130102955fdf1b152c6d56ee0f8.tar.gz
nixcfg-1b4f96ffb2fb4130102955fdf1b152c6d56ee0f8.zip
Fix telemetry
-rw-r--r--app/telemetry/deploy/telemetry-system.hcl2
-rw-r--r--cluster/staging/cluster.nix6
2 files changed, 7 insertions, 1 deletions
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