From 050863cf93cf5039f0c900f7590f9151d7fe5f81 Mon Sep 17 00:00:00 2001 From: Justin Santa Barbara Date: Sun, 21 Feb 2016 11:44:29 -0500 Subject: [PATCH] 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 --- cluster/aws/util.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cluster/aws/util.sh b/cluster/aws/util.sh index 14cd1a7113b..aac03f515e9 100755 --- a/cluster/aws/util.sh +++ b/cluster/aws/util.sh @@ -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