Skip to content

[Feature]: Ability to disable LoadBalancer #558

@alistarle

Description

@alistarle

Explain problem to solve

I try to make Kamaji (Hosted Control Plane technology) to support Outscale provider, and then spawn control plane inside pod of a management cluster, and worker as Outscale VM.

For this, I need to disable the loadbalancer of the OscCluster resource as the control plane is already provisionned, so the outscale provider will only spawn workers.

I achieved this by juste disabling LoadBalancer of the OscCluster (Kamaji support a way to patch generic infrastructure provider). When this feature will be merged, I will add first class support of Outscale provider to Kamaji and write documentation about it.

Describe the solution you would like

Edit the OscCluster CRD to optionnaly disable the LoadBalancer (like the bastion feature flag), and rely on an externally managed LoadBalancer to create the OscMachine

Additional context

Goal is to support tooling like Kamaji to perform hosted control plane. I achieved to make Kamaji supporting Outscale Infrastructure by making this little tweak in the CRD. Example for the Openstack Provider in Kamaji docuementation: https://github.com/clastix/cluster-api-control-plane-provider-kamaji/blob/master/docs/providers-openstack.md?plain=1#L195

More information on Kamaji can be found here: https://kamaji.clastix.io/concepts/

Environment

- Kubernetes version: (use `kubectl version`): 1.33.1
- OS (e.g. from `/etc/os-release`): Ubuntu 22.04
- cluster-api-provider-outscale version: 0.4.0
- cluster-api version: 1.10.2
- Kubernetes Distribution: Kubeadm with Kamaji controlplane provider

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