-
Notifications
You must be signed in to change notification settings - Fork 77
Closed
Description
You should be able to streamline this more.
- You can specify the token up front. Perhaps have folks generate that with a short python program and pass that as a variable to terraform.
- Generate token with
python -c 'import random; print "%0x.%0x" % (random.SystemRandom().getrandbits(3*8), random.SystemRandom().getrandbits(8*8))'
- Pass token to
kubeadm init
andkubeadm join
with the--token
flag.
- Generate token with
- If you can get a DNS name for the master (not sure how this works on EC2 lately) you can wait for that to resolve on the nodes before doing
kubeadm join
. - You can install networking before the nodes have joined. It shouldn't depend on order and should automatically configure the network on new nodes.
If we do this right you should be able to get a cluster up and running with no copy/paste or ssh.
Metadata
Metadata
Assignees
Labels
No labels