mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-21 23:40:19 +00:00
tweaked script
This commit is contained in:
parent
d57cbaafb4
commit
521f040ad9
1 changed files with 0 additions and 4 deletions
|
@ -173,8 +173,6 @@ EOF
|
|||
echo -e " \033[32;5mMaster node joined successfully!\033[0m"
|
||||
done
|
||||
|
||||
kubectl get nodes -o wide
|
||||
|
||||
# Step 7: Add Workers
|
||||
for newnode in "${workers[@]}"; do
|
||||
ssh -tt $user@$newnode -i ~/.ssh/$certName sudo su <<EOF
|
||||
|
@ -190,8 +188,6 @@ EOF
|
|||
echo -e " \033[32;5mMaster node joined successfully!\033[0m"
|
||||
done
|
||||
|
||||
kubectl get nodes -o wide
|
||||
|
||||
#Step 8: Setup Kube-VIP as LoadBalancer
|
||||
#IP range for loadbalancer services to use
|
||||
kubectl create configmap -n kube-system kubevip --from-literal range-global=$lbrange
|
||||
|
|
Loading…
Reference in a new issue