mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-21 23:40:19 +00:00
Update k3s.sh
This commit is contained in:
parent
c33a8dc101
commit
15db5c8d80
1 changed files with 2 additions and 2 deletions
|
@ -166,7 +166,7 @@ for newagent in "${workers[@]}"; do
|
|||
--k3s-version $k3sVersion \
|
||||
--server-ip $master1 \
|
||||
--ssh-key $HOME/.ssh/$certName \
|
||||
--k3s-extra-args "--node-label \"longhorn=true\",\"worker=true\""
|
||||
--k3s-extra-args "--node-label \"longhorn=true\" --node-label \"worker=true\""
|
||||
echo -e " \033[32;5mAgent node joined successfully!\033[0m"
|
||||
done
|
||||
|
||||
|
@ -202,4 +202,4 @@ kubectl get nodes
|
|||
kubectl get svc
|
||||
kubectl get pods --all-namespaces -o wide
|
||||
|
||||
echo -e " \033[32;5mHappy Kubing! Access Nginx at EXTERNAL-IP above\033[0m"
|
||||
echo -e " \033[32;5mHappy Kubing! Access Nginx at EXTERNAL-IP above\033[0m"
|
||||
|
|
Loading…
Reference in a new issue