kubernetes-sigs / cluster-api

Home for Cluster API, a subproject of sig-cluster-lifecycle
https://cluster-api.sigs.k8s.io
Apache License 2.0
3.5k stars 1.3k forks source link

Add conditions to the KubeadmControlPlane object #3137

Closed fabriziopandini closed 4 years ago

fabriziopandini commented 4 years ago

User Story As a developer/user/operator I would like to have conditions documenting the operational state of KubeadmControlPlane objects

Detailed Description A KubeadmControlPlane controls a set of machines that compose the cluster control plane.

I'm proposing to start implementing the following conditions for the KubeadmControlPlane object:

Anything else you would like to add: As required by the condition CAEP, the KubeadmControlPlane objects should also provide a Ready condition describing the overall state of the object.

Being the control plane a key component in the cluster most probably we are going to add more conditions over time; so you should consider this as the first iteration on KubeadmControlPlane conditions. Also, after the first set of the condition is merged on a core set of object, we should audit the result and refine

/kind feature

vincepri commented 4 years ago

/milestone v0.3.7

fabriziopandini commented 4 years ago

/assign /lifecycle active