Update k3s.sh
This commit is contained in:
parent
c33a8dc101
commit
15db5c8d80
|
@ -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\",\"worker=true\""
|
--k3s-extra-args "--node-label \"longhorn=true\" --node-label \"worker=true\""
|
||||||
echo -e " \033[32;5mAgent node joined successfully!\033[0m"
|
echo -e " \033[32;5mAgent node joined successfully!\033[0m"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -202,4 +202,4 @@ kubectl get nodes
|
||||||
kubectl get svc
|
kubectl get svc
|
||||||
kubectl get pods --all-namespaces -o wide
|
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 New Issue