Skip to content

Adding a function to create a cluster from manager #132

@guilhem

Description

@guilhem

I see many providers creating a cluster.Cluster with New without any options.

That could be a problem for caching, scheme, etc.

Controller runtime pass options from the manager to the cluster creation:
https://github.com/kubernetes-sigs/controller-runtime/blob/2053ba3d414e7cf9b47ae407e5c860556b3113b0/pkg/manager/manager.go#L352-L360

Could we integrate a little deeper with the manager?

I propose this interface #131 that could help
But maybe there are better ideas

Metadata

Metadata

Assignees

No one assigned

    Labels

    sig/multiclusterCategorizes an issue or PR as relevant to SIG Multicluster.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions