Skip to content

Differentiate requeued object updates from normal reconcilations #2247

Closed Answered by camilamacedo86
yalctay93 asked this question in Support
Discussion options

You must be logged in to vote

Hello,

For the use case you've described, the most efficient approach would be to leverage Kubernetes' capability to watch resources. This way, instead of reconciling at fixed intervals, you'll only reconcile when there's an actual change to the observed resource.

By watching the resources, you can ensure that your reconcile loop is triggered only when there are genuine updates to the resources. This approach eliminates the issue of having to differentiate between a requeued reconcile and a real one, as you'll only be reacting to actual changes.

For more details on how to set this up, refer to: Watching Resources.

I hope this addresses your concern. Let me know if you have any further que…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by camilamacedo86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants