Recast KEP core model to a spoke-reconciled lifecycle#2
Open
roguepikachu wants to merge 1 commit into
Open
Conversation
Rework the Cluster Infrastructure KEP core model so the spoke is self-sufficient: - Introduce SpokeCluster as the hub-side fleet handle and blueprint dispatcher (kubectl get spokeclusters). - Recast Cluster as the spoke-side, self-reconciling object that vela-cluster-core builds from the dispatched ClusterBlueprint and keeps converged locally. - Replace status push-back with hub-initiated, on-demand reads, so hub downtime never stops spoke reconciliation. - Reframe the lifecycle phases to infraProvisioning (hub), planeProvisioning (spoke), and healthValidation (hub/both). - Update The Approach, CRDs Introduced, What Lives Where, the controller ownership/reconciliation/responsibilities sections, the migration path, and the table of contents. Downstream sections (the Cluster spec catalog, provision/adopt CLI, rollouts, health, and use cases) still describe the prior hub-centric flow and are flagged inline for a follow-up.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Recasts the Cluster Infrastructure KEP core model so the spoke is self-sufficient:
SpokeClusterper managed cluster: the fleet handle you list withkubectl get spokeclustersand the dispatcher that hands a blueprint revision to the spoke.vela-cluster-core, which reconciles the dispatchedClusterBlueprintinto a self-reconcilingClusterand keeps it converged locally, with or without the hub.infraProvisioning(hub),planeProvisioning(spoke), andhealthValidation(hub/both).Sections changed
SpokeCluster, recastsCluster)SpokeClustersummary, recasts theClusterintroDeferred (follow-up)
The downstream sections still describe the prior hub-centric flow and are not yet updated: the
Clusterspec catalog (some fields, for examplecredentialandrolloutStrategyRef, move toSpokeCluster), the provision/adopt CLI, rollouts, health, and the Use Cases. This is called out inline with a field-migration note on theClusterCRD.Test plan