Hello Team,
I am using ansible operator sdk.
I have a playbook which is running continuously for every 5s, i have changed the reconciliation time interval to run every 5 hours, but this is not taking into effect, in the controller logs i see it is executing continuously.
The playbook is idempotent but my application logs shows errors saying the entries in the database already exists as the reconciliation is running continuously and after that the pods will go in terminating state some times.
Could you please let me know how to set the reconciliation properly ?.
Note: i have already tried specifying in seconds
The following is the content of my watches.yaml file
# Use the 'create api' subcommand to add watches to this file.
- version: v1beta1
kind: testabc
role: test
reconcilePeriod: 18000s
maxRunnerArtifacts: 2
snakeCaseParameters: false
# +kubebuilder:scaffold:watch
Thanks & Regards,
Majid M A