Update longhorn-K3S.sh
This commit is contained in:
parent
e86f6ed30e
commit
2bccbfc0e3
|
@ -54,7 +54,7 @@ for newnode in "${storage[@]}"; do
|
||||||
--sudo \
|
--sudo \
|
||||||
--k3s-channel stable \
|
--k3s-channel stable \
|
||||||
--server-ip $master1 \
|
--server-ip $master1 \
|
||||||
--k3s-extra-args "--node-label "longhorn=true"" \
|
--k3s-extra-args "--node-label \"longhorn=true\"" \
|
||||||
--ssh-key $HOME/.ssh/id_rsa
|
--ssh-key $HOME/.ssh/id_rsa
|
||||||
echo -e " \033[32;5mAgent node joined successfully!\033[0m"
|
echo -e " \033[32;5mAgent node joined successfully!\033[0m"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue