Skip to content

Speed up provisioning of the first set of worker machines by improving predicates on cluster watch #8835

Open
@fabriziopandini

Description

@fabriziopandini

What would you like to be added (User Story)?

As a users I want CAPI to provision machines as fast as possible

Detailed Description

While looking at cluster provisioning I noticed that the kubeadm bootstrap controller takes time to react to when the cluster reports control plane ready, which is the moment when workers machines are allowed to join.

From a preliminary investigation, the kubeadm bootstrap controller is watching for clusters, but existing predicates (more specifically predicates.ClusterUnpausedAndInfrastructureReady) are filtering out events when the cluster transition to control plane ready.

This issue is about investigating if we can speed up provisioning of the first set of worker machines by improving predicates

Anything else you would like to add?

Note predicates.ClusterUnpausedAndInfrastructureReady, so some research is required before changing this method, or most probably it is better to create a new one.

Label(s) to be applied

/kind feature
/area bootstrap

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/bootstrapIssues or PRs related to bootstrap providershelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions