Update join-workers.sh

This commit is contained in:
John Bowdre 2022-12-02 15:34:39 -06:00 committed by GitHub
parent e89d858f63
commit a5bc6db0b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,4 @@
#!/bin/bash -eu #!/bin/bash -eu
# export KUBEADM_TOKEN="1iopsj.8w8c5aacrt1zdl6z"
# export K8S_CONTROLPLANE_VIP="kates.lab.bowdre.net"
source ./env.txt source ./env.txt
@ -60,4 +58,4 @@ if sudo kubeadm join "${K8S_CONTROLPLANE_VIP}":6443 --config kubeadmjoin.yaml; t
else else
echo ">> [ERROR] Cluster initialization unsuccessful on ${HOSTNAME}! <<" echo ">> [ERROR] Cluster initialization unsuccessful on ${HOSTNAME}! <<"
exit 1 exit 1
fi fi