Skip to content

Commit f3cba54

Browse files
committed
refactor: change reconcile loop flow
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 <artem.chernyshev@talos-systems.com>
1 parent c2d7edf commit f3cba54

File tree

3 files changed

+239
-211
lines changed

3 files changed

+239
-211
lines changed

config/crd/bases/controlplane.cluster.x-k8s.io_taloscontrolplanes.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ spec:
158158
description: TalosControlPlaneStatus defines the observed state of TalosControlPlane
159159
properties:
160160
bootstrapped:
161-
description: Bootstrapped denotes wheither any nodes recieved bootstrap request which is required to start etcd and Kubernetes components in Talos.
161+
description: Bootstrapped denotes whether any nodes received bootstrap request which is required to start etcd and Kubernetes components in Talos.
162162
type: boolean
163163
conditions:
164164
description: Conditions defines current service state of the KubeadmControlPlane.

0 commit comments

Comments
 (0)