diff --git a/Kubernetes/K3S-Deploy/k3s.sh b/Kubernetes/K3S-Deploy/k3s.sh index d5fb684..b9ff68c 100644 --- a/Kubernetes/K3S-Deploy/k3s.sh +++ b/Kubernetes/K3S-Deploy/k3s.sh @@ -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" \ No newline at end of file +echo -e " \033[32;5mHappy Kubing! Access Nginx at EXTERNAL-IP above\033[0m"