canonical / cluster-api-control-plane-provider-microk8s

This project offers a cluster API control plane controller that manages the control plane of a MicroK8s cluster. It is expected to be used along with the respective MicroK8s specific machine bootstrap provider.
https://microk8s.io
7 stars 5 forks source link

Cleanup the status reconciliation in control plane #27

Closed sachinkumarsingh092 closed 2 years ago

sachinkumarsingh092 commented 2 years ago

Signed-off-by: Sachin Kumar Singh sachin.singh@canonical.com

We were using some boilerplate from kubeadm for reconciliation which did requeues even when the status was not ready, but we needed it to see the status of the control plane. We recently had a fix for the control plane for giving ProviderID in which we are now requeuing after every 30 seconds. This takes care of all the default cases for re-queues and hence no longer necessary.

Other changes