From 04fb9cf4546bdf4553032f46d78b3b35d1935803 Mon Sep 17 00:00:00 2001 From: tehNooB <125163838+JamesTurland@users.noreply.github.com> Date: Tue, 31 Oct 2023 19:24:06 +0000 Subject: [PATCH] Update k3s.sh Add interface variable to flannel arguements --- Kubernetes/K3S-Deploy/k3s.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kubernetes/K3S-Deploy/k3s.sh b/Kubernetes/K3S-Deploy/k3s.sh index 4d90f74..a01da6a 100644 --- a/Kubernetes/K3S-Deploy/k3s.sh +++ b/Kubernetes/K3S-Deploy/k3s.sh @@ -116,7 +116,7 @@ k3sup install \ --tls-san $vip \ --cluster \ --k3s-channel stable \ - --k3s-extra-args "--disable traefik --disable servicelb --flannel-iface=eth0 --node-ip=$master1" \ + --k3s-extra-args "--disable traefik --disable servicelb --flannel-iface=$interface --node-ip=$master1" \ --merge \ --sudo \ --local-path $HOME/.kube/config \