Closed yastij closed 4 years ago
KCP is marked as ready, this leads me to think that my controlplane did finish bootstrapping and is ready as it's marked
Ready is meant to indicate that the control plane API server is available and ready to receive requests. It is meant to be a higher fidelity version of what we are currently using Cluster.Status.ControlPlaneInitialized for to unblock actions against the API Server (i.e. allowing worker Machines to be unblocked for creation).
If we change the behavior of Ready, we will need consider what to use to unblock actions against once we stop supporting individual Machine-based management of Control Plane instances w/o a Control Plane provider.
I noticed the stale information as well.
$ kubectl get machines -A
NAMESPACE NAME PROVIDERID PHASE
default wff-test-control-plane-nzvvz aws:////i-stuff4b2 Running
default wff-test-md-0-f5b46f98b-wfpqt aws:////i-stuffa88 Running
$ kubectl get kubeadmcontrolplanes
NAME READY INITIALIZED REPLICAS READY REPLICAS UPDATED REPLICAS UNAVAILABLE REPLICAS
wff-test-control-plane true 1 1 1
I was expecting to see nothing in UNAVAILABLE REPLICAS
and even after a while it remains the same without being updated.
We're revisiting these concepts with conditions. While the current ready behavior won't change, I think this can probably be closed.
What do you think?
Closing this for now given that we're now subscribing to the workload's cluster node events. There is some improvements that can be done separately, although they're going to be tracked in a new issue @detiber is going to open.
/close
@vincepri: Closing this issue.
What steps did you take and what happened:
when deploying a kcp with 3 replicas, the controller do reconcile everything, generates the machines etc.. but after doing
the output is the following
and is going to get stuck in this state forever or a long time
Another problem is that when creating a KCP that fails for some reason we have the following output:
there is a couple of issues with this:
ready
as it's markedWhat did you expect to happen:
Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]
Environment:
kubectl version
):/etc/os-release
):/kind bug