How often is reconciliation loop run in Kubebuilder?

3k views Asked by At

I am wondering if there is a way to check how often reconciliation loop is run when an operator is built using Kubebuilder?

Thanks.

1

There are 1 answers

0
Akash Jain On

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.