Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Infrastructure to verify and create Dedicated Hosts during cluster infrastructure reconciliation #2241

Open
cjschaef opened this issue Mar 11, 2025 · 2 comments
Labels
area/provider/ibmcloud Issues or PRs related to ibmcloud provider kind/feature Categorizes issue or PR as related to a new feature.
Milestone

Comments

@cjschaef
Copy link
Contributor

/kind feature
/area provider/ibmcloud

User Story

What would you like to be added?
The ability for IBM Cloud CAPI to verify and potentially create Dedicated Hosts for hosting Machine VSI's, during cluster infrastructure reconciliation alleviating the user from having to do so manually.

Detailed Feature Description

For Infrastructure based clusters, IBM Cloud CAPI should reconcile a list of Dedicated Hosts for a VPC, verifying they exist and and available to host VPC VSI's (for Machines), or if necessary create the Dedicated Host(s) during infrastructure reconciliation.

Context & Motivation

What problem does this solve, and why is it important?
IBM Cloud CAPI can create an entire cluster infrastructure (VPC, subnets, VSI's, etc.), but the ability to use IBM Cloud VPC Dedicated Hosts is currently only available to existing cluster infrastructure (and existing Dedicated Hosts). Adding this capability to IBM Cloud CAPI to not only verify, but potentially create Dedicated Hosts would allow for simpler user experiences.

Proposed Solution

How should this be implemented?

  • Add new API resources for a Dedicated Host.
  • Add a slice of Dedicated Hosts to Spec (and their equivalent to Status) for Infrastructure Cluster definitions
  • Add a new step during Infrastructure's cluster infrastructure reconciliation, for Dedicated Hosts
    • Dedicated Hosts are attempted to be verified (existing) or can be created, assuming the necessary fields are populated
    • Once all Dedicated Hosts are created (if necessary) and appear ready, continue reconciliation to next resource (say, between Custom Image and Subnets)
  • Machine reconciliation may benefit from a verification of Dedicated Host, but may be unnecessary (TBD)

Alternatives Considered

Have you considered any alternatives?
The only alternate solution is to have a user create all necessary Infrastructure resources, to use existing Dedicated Hosts.

Additional Information

Anything else you would like to add?
An initial attempt to add this support would be to start with targeting creation of Dedicated Hosts by Zone, and potentially follow up with support of creating or using existing Dedicated Host Groups as well.

@k8s-ci-robot k8s-ci-robot added kind/feature Categorizes issue or PR as related to a new feature. area/provider/ibmcloud Issues or PRs related to ibmcloud provider labels Mar 11, 2025
@mkumatag
Copy link
Member

let us close this proposal doc before any feature enhancement

@cjschaef
Copy link
Contributor Author

I don't know if there is time to complete this, as there is a significant delay in the work to get the feature integrated and support made available.

@mkumatag mkumatag added this to the Next milestone Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/provider/ibmcloud Issues or PRs related to ibmcloud provider kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

3 participants