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

Extend VPC (x86_64) Infrastructure reconciliation support #1896

Open
cjschaef opened this issue Jul 25, 2024 · 3 comments
Open

Extend VPC (x86_64) Infrastructure reconciliation support #1896

cjschaef opened this issue Jul 25, 2024 · 3 comments
Assignees
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

Describe the solution you'd like
The current implementation for reconciling VPC (x86_64) Infrastructure support is very basic and lacks full feature/resource support for creating VPC Resources to be used for cluster Infrastructure. Expending the support for VPC to reconcile more resources and in more complex configurations can help with a more complete set of Infrastructure for clusters.

NOTE: Implementation for extended Machine reconciliation will be covered separately

Anything else you would like to add:
In order to prevent breaking existing (legacy) functionality, a new code path (a v2 path) will be developed, for more complex field parsing, configuration and resource definitions. We'd expect to eventually migrate all VPC Infrastructure reconciliation to this new path and deprecate and remove the old functionality.


Expected Functional changes

Major items identified, but not limited to:

  • New API's
    • Multiple Subnets
    • Custom Image
    • Security Group and Security Group Rules
    • Load Balancer resources (pools, etc.)
  • New Cluster Controller Reconciliation for
    • VPC
    • Custom Image
    • Subnets
    • Security Groups and Security Group Rules
    • Load Balancers

Expected Prerequisites

  • Existing Resource Group (RG for any existing resources and the Cluster's Resource Group)
  • Existing COS Instance, Bucket, Object containing qcow image for VPC Custom Image generation (or provided existing VPC Custom Image)
  • IAM Authorization for VPC to COS for creating VPC Custom Image using COS Object

Expected Resource Specifications

  • Existing resources can be designated by Name or ID (where applicable)
  • Resources specified by ID that don't exist or cannot be found results in an error
  • Resources specified by Name will trigger a lookup (treated as existing), or get created if not found (some limitations include ResourceGroup, which will not be created regardless of how it was designated)
  • Certain resources are dependent on other resources, requiring a hierarchy of reconciliation/creation, but also, limits the way a resource is specified, even if it is expected to exist (runtime resource ID's are not available prior to Infrastructure creation, meaning names may be designated instead, but if those resources don't already exist at that point of resource reconciliation, an error will result rather than try to create). Some examples of this: SecurityGroupRules can depend on Subnet CIDR's or other SecurityGroups which must already exist; Load Balancers can have Subnets and SecurityGroups attached during creation, so those resources must already exist
@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 Jul 25, 2024
@mkumatag
Copy link
Member

cc @Karthik-K-N @dharaneeshvrd

@mkumatag
Copy link
Member

mkumatag commented Aug 6, 2024

@cjschaef can you please update this task with all of your PRs delivered so far to items you have listed above?

@mkumatag mkumatag added this to the v0.9.0 milestone Aug 6, 2024
cjschaef added a commit to cjschaef/cluster-api-provider-ibmcloud that referenced this issue Sep 4, 2024
Add support to reconcile a VPC Custom Image for the new v2
VPC Infrastructure reconcile logic.

Related: kubernetes-sigs#1896
cjschaef added a commit to cjschaef/cluster-api-provider-ibmcloud that referenced this issue Sep 4, 2024
Add support to reconcile a VPC Custom Image for the new v2
VPC Infrastructure reconcile logic.

Related: kubernetes-sigs#1896
cjschaef added a commit to cjschaef/cluster-api-provider-ibmcloud that referenced this issue Sep 4, 2024
Add support to reconcile a VPC Custom Image for the new v2
VPC Infrastructure reconcile logic.

Related: kubernetes-sigs#1896
cjschaef added a commit to cjschaef/cluster-api-provider-ibmcloud that referenced this issue Sep 4, 2024
Add support to reconcile a VPC Custom Image for the new v2
VPC Infrastructure reconcile logic.

Related: kubernetes-sigs#1896
cjschaef added a commit to cjschaef/cluster-api-provider-ibmcloud that referenced this issue Sep 10, 2024
Add support to reconcile a VPC Custom Image for the new v2
VPC Infrastructure reconcile logic.

Related: kubernetes-sigs#1896
cjschaef added a commit to cjschaef/cluster-api-provider-ibmcloud that referenced this issue Sep 12, 2024
Add support to reconcile a VPC Custom Image for the new v2
VPC Infrastructure reconcile logic.

Related: kubernetes-sigs#1896
cjschaef added a commit to cjschaef/cluster-api-provider-ibmcloud that referenced this issue Sep 13, 2024
Add support to reconcile a VPC Custom Image for the new v2
VPC Infrastructure reconcile logic.

Related: kubernetes-sigs#1896
k8s-ci-robot pushed a commit that referenced this issue Sep 17, 2024
Add support to reconcile a VPC Custom Image for the new v2
VPC Infrastructure reconcile logic.

Related: #1896
cjschaef added a commit to cjschaef/cluster-api-provider-ibmcloud that referenced this issue Sep 18, 2024
Add support to reoncile VPC subnets for the new v2
VPC Infrastructure reoncile logic.

Related: kubernetes-sigs#1896
cjschaef added a commit to cjschaef/cluster-api-provider-ibmcloud that referenced this issue Sep 18, 2024
Add support to reoncile VPC subnets for the new v2
VPC Infrastructure reoncile logic.

Related: kubernetes-sigs#1896
cjschaef added a commit to cjschaef/cluster-api-provider-ibmcloud that referenced this issue Sep 18, 2024
Add support to reoncile VPC subnets for the new v2
VPC Infrastructure reoncile logic.

Related: kubernetes-sigs#1896
cjschaef added a commit to cjschaef/cluster-api-provider-ibmcloud that referenced this issue Sep 19, 2024
Add support to reoncile VPC subnets for the new v2
VPC Infrastructure reoncile logic.

Related: kubernetes-sigs#1896
cjschaef added a commit to cjschaef/cluster-api-provider-ibmcloud that referenced this issue Sep 19, 2024
Add support to reoncile VPC subnets for the new v2
VPC Infrastructure reoncile logic.

Related: kubernetes-sigs#1896
cjschaef added a commit to cjschaef/cluster-api-provider-ibmcloud that referenced this issue Sep 19, 2024
Add support to reoncile VPC subnets for the new v2
VPC Infrastructure reoncile logic.

Related: kubernetes-sigs#1896
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