Skip to content

Idea: Make it even easier #1

@jbeda

Description

@jbeda

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 and kubeadm join with the --token flag.
  • 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions