Debugging Reconcile triggers in Kubernetes Operator I am using a custom resource in my kubernetes cluster and have built an operator (using Operator-SDK).
In my operator reconcile function, I create a secret owned by the CR and apply it on the same namespace as the CR.
Lately, I see that reconcile function is triggered for every CR instance in the cluster. This happens periodically and in strange intervals.
Could you please suggest a method of debugging why Reconcile function is triggered?
I was thinking that ideally I would monitor changes to the CR or it's owned secret, but not sure what would be the best method to do so.