Skip to content

Commit

Permalink
refactor: change reconcile loop flow
Browse files Browse the repository at this point in the history
Refactor reconcile loop to resemble Kubeadm controlplane controller.
Now it tries to reconcile: `etcd status`, `nodes health`, `bootstrap
status` and `kubeconfig` on each reconcile call.
This makes kubeconfig available much earlier and also different
reconcile phases do not cancel each other anymore.

Signed-off-by: Artem Chernyshev <[email protected]>
  • Loading branch information
Unix4ever committed Dec 24, 2021
1 parent c2d7edf commit f3cba54
Show file tree
Hide file tree
Showing 3 changed files with 239 additions and 211 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ spec:
description: TalosControlPlaneStatus defines the observed state of TalosControlPlane
properties:
bootstrapped:
description: Bootstrapped denotes wheither any nodes recieved bootstrap request which is required to start etcd and Kubernetes components in Talos.
description: Bootstrapped denotes whether any nodes received bootstrap request which is required to start etcd and Kubernetes components in Talos.
type: boolean
conditions:
description: Conditions defines current service state of the KubeadmControlPlane.
Expand Down
Loading

0 comments on commit f3cba54

Please sign in to comment.