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
This commit is contained in:
Justin Santa Barbara 2016-02-21 11:44:29 -05:00
parent d089fa8030
commit 050863cf93

View File

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