mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 15:58:37 +00:00
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:
parent
d089fa8030
commit
050863cf93
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user