mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-21 23:40:19 +00:00
Update longhorn-K3S.sh
This commit is contained in:
parent
2bccbfc0e3
commit
bddcbbe2d3
1 changed files with 5 additions and 0 deletions
|
@ -46,6 +46,11 @@ storage=($longhorn1 $longhorn2 $longhorn3)
|
|||
sudo timedatectl set-ntp off
|
||||
sudo timedatectl set-ntp on
|
||||
|
||||
#add ssh keys for all nodes
|
||||
for node in "${storage[@]}"; do
|
||||
ssh-copy-id $user@$node
|
||||
done
|
||||
|
||||
# Step 1: Add new longhorn nodes to cluster (note: label added)
|
||||
for newnode in "${storage[@]}"; do
|
||||
k3sup join \
|
||||
|
|
Loading…
Reference in a new issue