diff --git a/k8s/01_install_k8s.sh b/k8s/01_install_k8s.sh index 0e65ec55..ba65eaab 100755 --- a/k8s/01_install_k8s.sh +++ b/k8s/01_install_k8s.sh @@ -56,6 +56,7 @@ kops create secret --name $CLUSTER_NAME sshpublickey admin -i $PUBKEY kops update cluster $CLUSTER_NAME --yes # Wait for worker nodes and master to be ready +kops export kubecfg --admin --name $CLUSTER_NAME kops validate cluster --wait 20m echo "Cluster nodes are Ready"