How Can We Improve Kubernetes Operators Using External Watchers?

0
2
Asked By CuriousCoder92 On

I'm developing a library aimed at reducing unnecessary requeueAfter calls in cloud resource operators. Rather than using a fixed cadence for reconciliation, this kube-external-watcher library compares the state of external resources to the Kubernetes state at dynamic polling intervals and only triggers reconciliation when drift is detected. It's still experimental, and I'm looking for feedback on its potential.

2 Answers

Answered By TechExplorer77 On

Have you considered if this could be added as a provider in Crossplane? I'm not sure I'm fully grasping the purpose behind your approach. Are you trying to streamline how often reconciliations happen?

Answered By DriftMaster42 On

Your library sounds promising! Just to clarify, the idea is that Crossplane and similar tools currently use fixed requeueAfter intervals, but this method checks for drifts periodically and only reconciles when there's an actual difference, correct?

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.