mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-25 17:30:23 +00:00
update
This commit is contained in:
parent
52ed6b908f
commit
a757f239da
1 changed files with 2 additions and 1 deletions
|
@ -130,7 +130,8 @@ kubectl k3s-ha
|
||||||
kubectl apply -f https://kube-vip.io/manifests/rbac.yaml
|
kubectl apply -f https://kube-vip.io/manifests/rbac.yaml
|
||||||
|
|
||||||
# Step 3: Download kube-vip
|
# 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
|
# Step 4: Copy kube-vip.yaml to master1
|
||||||
scp -i ~/.ssh/$certName $HOME/kube-vip.yaml $user@$master1:~/kube-vip.yaml
|
scp -i ~/.ssh/$certName $HOME/kube-vip.yaml $user@$master1:~/kube-vip.yaml
|
||||||
|
|
Loading…
Reference in a new issue