kinvolk / lokomotive

🪦 DISCONTINUED Further Lokomotive development has been discontinued. Lokomotive is a 100% open-source, easy to use and secure Kubernetes distribution from the volks at Kinvolk
https://kinvolk.io/lokomotive-kubernetes/
Apache License 2.0
321 stars 49 forks source link

Support to deploy on Hetzner (Cloud) or generic infrastructure providers #751

Open ShadowJonathan opened 4 years ago

ShadowJonathan commented 4 years ago

I was pleasantly surprised to see that lokomotive doesn't (easily) support deploying on unknown infrastructure providers/clouds, and considering I would want to deploy on "unknown clouds" (such as Scaleway, Digitalocean, Vultr, or Hetzner) with ease, is it possible to support a more generic infrastructure provider from/via terraform? If not, is it possible to support Hetzner?

invidian commented 3 years ago

Hey @ShadowJonathan, thanks for opening the issue and sorry for our response time.

So, right now Lokomotive does not support deploying to unknown infrastructure, as each platform may have different requirements which needs to be satisfied or provide different features which can be leveraged.

I guess support for unknown infrastructure could be implemented, assuming that the cloud provider can spawn Flatcar machines with Ignition configuration.

If not, is it possible to support Hetzner?

Do you mean Hetzner Cloud here or bare metal?

ShadowJonathan commented 3 years ago

Do you mean Hetzner Cloud here or bare metal?

Hetzner Cloud

invidian commented 3 years ago

Hm, considering that Hetzner Cloud has Terraform provider and it is possible to install Flatcar Container Linux there, they have CCM and load balancers support, I think we can consider supporting it. This will be definitely easier than supporting generic infrastructure.

Hetzner Cloud is also very cheap if you compare it to other cloud providers, which might be nice for some testing projects etc. I use it myself to be honest :)

@ShadowJonathan BTW, even without your provider of choice support, you can still use Lokomotive components, which should work not only on Lokomotive clusters.

CC @iaguis

tboerger commented 2 years ago

Has somebody already started the Hetzner Cloud integration? Maybe some hints before starting to contribute?

@invidian how do you deploy Kubernetes to Hetzner Cloud today? :)

invidian commented 2 years ago

@invidian how do you deploy Kubernetes to Hetzner Cloud today? :)

I use @flexkube, though without CCM and load balancers at the moment.