Skip to content

Support more configs for cluster and VCN creation #370

Open
@zihuaweng

Description

@zihuaweng

What would you like to be added:

  1. Support the following config in OCIManagedControlPlaneSpec:

    type KubernetesNetworkConfig struct {

    Additional options:
    serviceLbSubnetIds
    https://docs.oracle.com/en-us/iaas/api/#/en/containerengine/20180222/datatypes/ClusterCreateOptions

    Additional options:
    subnetId
    https://docs.oracle.com/en-us/iaas/api/#/en/containerengine/20180222/datatypes/CreateClusterEndpointConfigDetails

  2. Support for prohibitPublicIpOnVnic
    https://docs.oracle.com/en-us/iaas/api/#/en/iaas/20160918/datatypes/CreateSubnetDetails

  3. Add support for customized route table:
    https://docs.oracle.com/en-us/iaas/api/#/en/iaas/20160918/datatypes/CreateRouteTableDetails
    Currently we can only choose to skip or not skip route tables

    // RouteTable is used to specify the options for creating Route table.

  4. Add support for Dynamic Routing Gateways
    https://docs.oracle.com/en-us/iaas/Content/Network/Tasks/managingDRGs.htm

Why is this needed:
We would like to automate networking and cluster setup using CAPOCI. These features are required for our networking and cluster setup

Activity

zihuaweng

zihuaweng commented on Jul 16, 2024

@zihuaweng
MemberAuthor

Update:
For No.1 We are able to achieve this by adding the role parameter to the lb subnet and control-plane-endpoint subnet https://github.com/oracle/cluster-api-provider-oci/blob/main/api/v1beta2/types.go#L34

For No.2 We are able to set prohibitPublicIpOnVnic by setting the type of subnet https://github.com/oracle/cluster-api-provider-oci/blob/main/api/v1beta2/types.go#L858

For No.4: There is existing support to add DRG

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Support more configs for cluster and VCN creation · Issue #370 · oracle/cluster-api-provider-oci