AWS kube-up: Build kubeconfig asap

Once we've built the master, we can build kubeconfig.  By doing so, if
we time out waiting for the nodes, the system is still configured
correctly.

In particular, spot instances can be slow to launch.

Related to issue #21200
pull/6/head
Justin Santa Barbara 2016-02-21 11:44:29 -05:00
parent d089fa8030
commit 050863cf93
1 changed files with 3 additions and 3 deletions

View File

@ -937,15 +937,15 @@ function kube-up {
# Create the master
start-master
# Build ~/.kube/config
build-config
# Start minions
start-minions
wait-minions
# Wait for the master to be ready
wait-master
# Build ~/.kube/config
build-config
fi
# Check the cluster is OK