hashipi

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

commit f743878cce14ff2d129faf7898e85e8aded3ac79
parent 052b0feaae8b445ce18d94f830caa1cbf9aff54e
Author: Andreas Gruhler <agruhl@gmx.ch>
Date:   Sat, 12 Feb 2022 13:50:45 +0100

feat(nomad): install CNI plugin

Diffstat:
Mnomad.sh | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/nomad.sh b/nomad.sh @@ -141,3 +141,9 @@ fi # Enable memory cgroups for NFS CSI # https://downey.io/blog/exploring-cgroups-raspberry-pi sed 's/$/ cgroup_enable=memory/' /boot/cmdline.txt + +# Install CNI plugin for Consul connect integration +# https://www.nomadproject.io/docs/integrations/consul-connect +curl -L -o cni-plugins.tgz "https://github.com/containernetworking/plugins/releases/download/v1.0.0/cni-plugins-linux-$( [ $(uname -m) = aarch64 ] && echo arm64 || echo amd64)"-v1.0.0.tgz +mkdir -p /opt/cni/bin +tar -C /opt/cni/bin -xzf cni-plugins.tgz