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

Support more configs for cluster and VCN creation #370

Open
zihuaweng opened this issue Jul 16, 2024 · 1 comment
Open

Support more configs for cluster and VCN creation #370

zihuaweng opened this issue Jul 16, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@zihuaweng
Copy link
Member

zihuaweng commented Jul 16, 2024

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

@zihuaweng zihuaweng added the enhancement New feature or request label Jul 16, 2024
@zihuaweng
Copy link
Member Author

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
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant