Skip to content

Reduce control-plane CRD and controller footprint (MRAP + optional providers) #334

Description

@vfarcic

What problem are you facing?

Installing Modelplane hard-depends on seven Crossplane cloud provider families (provider-aws-eks/ec2/iam/efs, provider-gcp-container/compute/cloudplatform) and activates each family's full CRD set, though the compositions instantiate only about twenty managed-resource kinds. That inflates CRD count and controller memory, the symptom reported in #323 (idle control plane at ~9GB). Two things make it worse: a BYOC-only operator who never provisions a cluster still installs the entire AWS and GCP CRD and controller surface, because the providers are hard dependencies of the Configuration; and nothing narrows the activated CRD set below the family level.

How could Modelplane help solve your problem?

Adopt Crossplane v2 SafeStart with a ManagedResourceActivationPolicy to activate only the managed-resource kinds the compositions use, leaving the rest inactive until needed, which cuts CRD count and controller footprint without removing capability. Separately, make the cloud provisioning provider families optional, via separate dependencies or a bring-your-own install profile, so operators who only register existing clusters do not install provider-aws or provider-gcp at all.

Related: #323.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions