mirror of
https://github.com/jbowdre/vsphere-k8s.git
synced 2024-11-21 15:42:19 +00:00
Update join-workers.sh
This commit is contained in:
parent
e89d858f63
commit
a5bc6db0b5
1 changed files with 1 additions and 3 deletions
|
@ -1,6 +1,4 @@
|
|||
#!/bin/bash -eu
|
||||
# export KUBEADM_TOKEN="1iopsj.8w8c5aacrt1zdl6z"
|
||||
# export K8S_CONTROLPLANE_VIP="kates.lab.bowdre.net"
|
||||
|
||||
source ./env.txt
|
||||
|
||||
|
@ -60,4 +58,4 @@ if sudo kubeadm join "${K8S_CONTROLPLANE_VIP}":6443 --config kubeadmjoin.yaml; t
|
|||
else
|
||||
echo ">> [ERROR] Cluster initialization unsuccessful on ${HOSTNAME}! <<"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue