hashipi

Raspberry Pi Test Cluster for HashiCorp Vault, Nomad and Consul
git clone https://git.in0rdr.ch/hashipi.git
Log | Files | Refs | README

commit 486be092c29f5eda0c9c5751f636040baefb7825
parent 69222252ed5b892898317047a5f8773325bf1a05
Author: Andreas Gruhler <agruhl@gmx.ch>
Date:   Thu, 10 Feb 2022 10:11:28 +0100

feat(nomad): add private host_network

Diffstat:
Mnomad.sh | 11+++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/nomad.sh b/nomad.sh @@ -67,6 +67,14 @@ plugin "docker" { allow_privileged = true } } + +# Allow jobs to use the loopback interface for exposing +# private services only accessible from the client nodes +client { + host_network "private" { + cidr = "127.0.0.1/32" + } +} EOF # ..and as a Nomad server agent @@ -125,4 +133,4 @@ fi # Enable memory cgroups for NFS CSI # https://downey.io/blog/exploring-cgroups-raspberry-pi -sed 's/$/ cgroup_enable=memory/' /boot/cmdline.txt -\ No newline at end of file +sed 's/$/ cgroup_enable=memory/' /boot/cmdline.txt