Skip to content

Hetzner Autoscaler does not allow subnets for HCLOUD_NETWORK #5263

@ifeulner

Description

@ifeulner

Which component are you using?:
Horizontal autoscaler

The hetzner implementation , see https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler/cloudprovider/hetzner

What version of the component are you using?:
1.25.0

Component version: 1.25.0
What k8s version are you using (kubectl version)?:

kubectl version Output
$ kubectl version

What environment is this in?:

What did you expect to happen?:
If a subnet_id will be provided, the right subnet network will be used for assigning an ip when creating the autoscaler node

Autoscaler nodes get an ip out of the range specified in the subnet network
What happened instead?:

Node creation fails

How to reproduce it (as minimally and precisely as possible):
Specificy an subnet id in `HCLOUD_NETWORK' instead of a network id

Anything else we need to know?:

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/cluster-autoscalerarea/provider/hetznerIssues or PRs related to Hetzner providerkind/bugCategorizes issue or PR as related to a bug.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions