From e348c9918d228e78fa3ae9dc76b4ba10f1739184 Mon Sep 17 00:00:00 2001 From: Florian Sesser <florian@private.storage> Date: Thu, 3 Feb 2022 18:59:09 +0000 Subject: [PATCH] All hosts streaming their logs to the monitoring node need to know that host --- morph/lib/base.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/morph/lib/base.nix b/morph/lib/base.nix index 0ab77333..88056642 100644 --- a/morph/lib/base.nix +++ b/morph/lib/base.nix @@ -57,6 +57,11 @@ # qualified domain name. deployment.targetHost = config.networking.fqdn; + networking.hosts = { + # To stream logs to the monitoring host, all nodes need to know its address + "172.23.23.1" = [ "monitoring" "monitoring.monitoringvpn" ]; + }; + assertions = [ # This is a check to save somebody in the future trying to debug why # setting `nixpkgs.config` is not having an effect. -- GitLab