This commit is contained in:
James Turland 2023-12-04 10:00:00 +00:00
parent 7d2b9b34cb
commit 78701624c4

View file

@ -166,7 +166,7 @@ for newagent in "${workers[@]}"; do
--k3s-version $k3sVersion \ --k3s-version $k3sVersion \
--server-ip $master1 \ --server-ip $master1 \
--ssh-key $HOME/.ssh/$certName \ --ssh-key $HOME/.ssh/$certName \
--k3s-extra-args "--node-label \"longhorn=true\" --node-label \"worker=true\"" --k3s-extra-args "--node-label \"longhorn=true\",\"worker=true\""
echo -e " \033[32;5mAgent node joined successfully!\033[0m" echo -e " \033[32;5mAgent node joined successfully!\033[0m"
done done