WIP: Kubernetes #8

Manually merged
nemo merged 22 commits from kubernetes into master 2019-02-16 10:12:29 +00:00
Owner

Adds kubernetes support. This doesn't use a framework, but does everything as close to stock as possible.

more detailed plan:

Servers:

  1. sydney (has a public IP), VPN IP = 10.8.0.1. This is going to be our master server

  2. laptop (VPN IP = 10.8.0.22)

  3. Run Docker Daemon on sydney over VPN IP 🏁

  4. Setup Terraform against (sydney) 🏁

  5. Use Terraform Docker Provider to bring up etcd on (sydney) 🏁

  6. Use terraform docker provider to bring up a kubelet in docker on (sydney)

  7. Run bootkube locally on laptop (listening on VPN IP) to trigger a control plane 🏁 :helmet_with_white_cross:

  8. Bootkube submits the entire control plane to the kubelet running in sydney

  9. Once second kubelet brings up a control plane, kill bootkube running locally and let main control plane take over

This has slightly changed as I've been working on it, but I'm running myself with 2 limitations:

  1. Run everything in Docker, including bootkube and kubelet
  2. Manage everything using Terraform, including static kubelet configuration
Adds kubernetes support. This doesn't use a framework, but does everything as close to stock as possible. more detailed plan: Servers: 1. sydney (has a public IP), VPN IP = 10.8.0.1. This is going to be our master server 2. laptop (VPN IP = 10.8.0.22) 1. Run Docker Daemon on sydney over VPN IP :checkered_flag: 2. Setup Terraform against (sydney) :checkered_flag: 3. Use Terraform Docker Provider to bring up etcd on (sydney) :checkered_flag: 4. Use terraform docker provider to bring up a kubelet in docker on (sydney) 5. Run bootkube locally on laptop (listening on VPN IP) to trigger a control plane :checkered_flag: :helmet_with_white_cross: 6. Bootkube submits the entire control plane to the kubelet running in sydney 7. Once second kubelet brings up a control plane, kill bootkube running locally and let main control plane take over This has slightly changed as I've been working on it, but I'm running myself with 2 limitations: 1. Run everything in Docker, including bootkube and kubelet 2. Manage everything using Terraform, including static kubelet configuration
nemo closed this pull request 2019-02-16 10:12:29 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: nemo/nebula#8
No description provided.