Commit 050863cf authored by Justin Santa Barbara's avatar Justin Santa Barbara

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
parent d089fa80
...@@ -937,15 +937,15 @@ function kube-up { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment