kelseyhightower/kubestack

bootstrap mixed GCE and bare-metal cluster

Opened this issue · 4 comments

@kelseyhightower would be nice to bootstrap master/ some nodes on GCE and some bare metal nodes too.

Any good ideas how to connect bare-metal worker / nodes back to GCE etcd cluster and k8s master?

It worked well for me with weave network, but might be you have some better ideas.

@rimusz Thanks for filling this issue. I need to review my notes on the subject. Do you mind sharing details of your weave setup?

@kelseyhightower it is very simple:

  1. run weave network on master and bare metal server
  2. expose host via weave network
  3. route network via weave network
  4. open weave port 6783 on master and bare metal servers to internet
  5. use weave network IPs of etcd/k8s to access them from another cloud where bare metal servers are

@kelseyhightower I also have looked to http://www.projectcalico.org but weave network setup looks much simpler for me

@kelseyhightower also bare metal servers need to bootstrapped with the minimal setup- working network first.

Then we need to upload and run systemd unit files there
As I see terraform cannot be used to upload required unit files to bare metal servers.
Any suggestions?