mirror of https://github.com/k3s-io/k3s
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 #21200pull/6/head
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