Open biqas opened 2 days ago
@biqas CAPH can only do things which are exposed via the Hetzner/HCloud API.
For Hcloud it is supported: IPv4 *PrimaryIP
For bare-metal servers it should work out of the box, because Caph does not create bm servers. Caph uses the serverID from HetznerBareMetalHost. The customer can configure the bm server before using it.
Do you want that feature for hcloud, bm or both?
In general, we can do it.
We should try to understand [in-cluster IPAM provider for Cluster API ](https://github.com/kubernetes-sigs/cluster-api- ipam-provider-in-cluster) first.
Caph could do that somehow on its own, or use above IPAM provider.
@biqas what do you think about above IPAM provider?
Thank you for your prompt response and for considering this feature request.
Clarification on Requirements:
IPAM Provider: I believe that leveraging the in-cluster IPAM provider for Cluster API could be a viable solution. It appears to offer the flexibility needed for IP address management within the cluster. It may allow for dynamic assignment of predefined static IP addresses during node provisioning and could streamline the implementation process and align with Cluster API best practices.
Questions:
/kind feature
Description:
Currently, the Hetzner Cluster API (CAPI) provider automatically assigns primary IPv4 and IPv6 addresses to control plane and worker nodes during provisioning. There is no option to specify predefined static IPv4 addresses for these nodes. This limitation affects users who need specific IP addresses for integration with existing network infrastructures, DNS configurations, firewall rules, or compliance with organizational policies.
Proposed Feature:
Introduce the ability to assign predefined static IPv4 addresses to both control plane and worker nodes, independent of the load balancer configuration. This enhancement would provide users with greater control over their network setups and IP address management.
Example Configuration
Below is an example of how the configuration might look with the proposed feature:
Use Cases
Environment: