Merge pull request #6 from martyn-v/fix-kube-vip-relies-on-home

Update k3s.sh
This commit is contained in:
tehNooB 2023-10-17 16:35:33 +01:00 committed by GitHub
commit c062ecc36a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ sudo docker run --network host --rm ghcr.io/kube-vip/kube-vip:$KVVERSION manifes
--leaderElection | tee $HOME/kube-vip.yaml
# 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 $HOME/kube-vip.yaml $user@$master1:~/kube-vip.yaml
# Step 5: Connect to Master1 and move kube-vip.yaml