Autoscaler: add Hetzner support

Created on 22 May 2019  路  7Comments  路  Source: kubernetes/autoscaler

Hetzner cloud has a kubernetes controller manager. I assume the support for autoscaler can be added

https://github.com/hetznercloud/hcloud-cloud-controller-manager

Most helpful comment

I cannot contain my excitement. can't wait

All 7 comments

I'm not sure what exactly is your question here? We accept new cloud provider implementations on condition that they don't modify global vendor/ and they don't introduce license-related problems.
Implementation wise - Cluster Autoscaler uses a completely different interface to talk to cloud provider, having working controller-manager doesn't help you at all. Implementing cloud provider support for CA is unfortunately a serious task (most existing implementations are >5k LOC).

I didn't realize how hard it is.

What you mean LOC- line of code?

The digital ocean autoscaler implementation looks like its less than 500 loc, mostly boilerplate.

Yeah, DO is much simpler than all previously existing implementations.
A lot of complexity comes from supporting scale-from-0 and optimizing for very large clusters (thousands of nodes in multiple nodepools), but if you don't care about this and just want basic support, DO is by far the best example to follow.

We started an implementation for the Hetzner Cloud in #3640

I cannot contain my excitement. can't wait

Was this page helpful?
0 / 5 - 0 ratings

Related issues

johanneswuerbach picture johanneswuerbach  路  5Comments

dharmab picture dharmab  路  6Comments

mboersma picture mboersma  路  6Comments

mossuchida picture mossuchida  路  4Comments

whereisaaron picture whereisaaron  路  7Comments