I am wondering if there is a way to check how often reconciliation loop is run when an operator is built using Kubebuilder?
Thanks.
I am wondering if there is a way to check how often reconciliation loop is run when an operator is built using Kubebuilder?
Thanks.
The reconciliation loop is run on any state change for the object being watched and also by default every 10 hours.
This periodic run of 10 hours is controlled by the SyncPeriod option while creating the controller-runtime manager.
You can also requeue the reconciliation for a object by appropriately setting the ctrl.Result return value.