Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 899 Bytes

core-cluster.md

File metadata and controls

20 lines (16 loc) · 899 Bytes

Core Cluster controller

Overview

Core cluster controller is responsible for managing Cluster CRs. The cluster object will represent the current cluster where operator is running because we treat this cluster as both management and workload. It's only purpose it to set ControlPlaneInitialized condition to true, in order to make Cluster API move the cluster to provisioned phase. We don't manage control plane machines using Cluster API now.

Behavior

stateDiagram-v2
    [*] --> GetCluster
    GetCluster --> IsDeletionTimestampPresent
    state IsDeletionTimestampPresent <<choice>>
    IsDeletionTimestampPresent --> [*]: True
    IsDeletionTimestampPresent --> SetControlPlaneInitializedCondition: False
    SetControlPlaneInitializedCondition --> [*]
Loading