mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-22 07:50:19 +00:00
Update k3s.sh
fixes: kube-vip.yaml is created in `home`, but if the script is executed from another directory it fails to copy it to master 1.
This commit is contained in:
parent
4ad27adec1
commit
726dad804a
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ sudo docker run --network host --rm ghcr.io/kube-vip/kube-vip:$KVVERSION manifes
|
||||||
--leaderElection | tee $HOME/kube-vip.yaml
|
--leaderElection | tee $HOME/kube-vip.yaml
|
||||||
|
|
||||||
# Step 4: Copy kube-vip.yaml to master1
|
# Step 4: Copy kube-vip.yaml to master1
|
||||||
scp -i ~/.ssh/id_rsa kube-vip.yaml $user@$master1:~/kube-vip.yaml
|
scp -i ~/.ssh/id_rsa ~/kube-vip.yaml $user@$master1:~/kube-vip.yaml
|
||||||
|
|
||||||
|
|
||||||
# Step 5: Connect to Master1 and move kube-vip.yaml
|
# Step 5: Connect to Master1 and move kube-vip.yaml
|
||||||
|
|
Loading…
Reference in a new issue