From a757f239dae495bd92f888c72b25c908c83c1ee2 Mon Sep 17 00:00:00 2001 From: James Turland Date: Mon, 4 Dec 2023 09:42:26 +0000 Subject: [PATCH] update --- Kubernetes/K3S-Deploy/k3s-test-do-not-use.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Kubernetes/K3S-Deploy/k3s-test-do-not-use.sh b/Kubernetes/K3S-Deploy/k3s-test-do-not-use.sh index 985e3d9..baa3b7b 100644 --- a/Kubernetes/K3S-Deploy/k3s-test-do-not-use.sh +++ b/Kubernetes/K3S-Deploy/k3s-test-do-not-use.sh @@ -130,7 +130,8 @@ kubectl k3s-ha kubectl apply -f https://kube-vip.io/manifests/rbac.yaml # Step 3: Download kube-vip -curl -sO https://raw.githubusercontent.com/JamesTurland/JimsGarage/main/Kubernetes/K3S-Deploy/kube-vip.yaml +curl -sO https://raw.githubusercontent.com/JamesTurland/JimsGarage/main/Kubernetes/K3S-Deploy/kube-vip +cat kube-vip | sed 's/$interface/'$interface'/g; s/$vip/'$vip'/g' > $HOME/kube-vip.yaml # Step 4: Copy kube-vip.yaml to master1 scp -i ~/.ssh/$certName $HOME/kube-vip.yaml $user@$master1:~/kube-vip.yaml