Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for different reconcile events #38

Closed
crimsonfaith91 opened this issue Mar 27, 2018 · 1 comment
Closed

Support for different reconcile events #38

crimsonfaith91 opened this issue Mar 27, 2018 · 1 comment

Comments

@crimsonfaith91
Copy link
Contributor

Currently, Reconcile loop will be triggered periodically or by any event. It would be great if the controller provides the functionality to perform specific reconcile effort based on event type. For example, there are 3 loops for add, update, and delete events (or one reconcile loop that performs differently based on event type).

@pwittrock
/cc @liyinan926

@pwittrock
Copy link
Contributor

@crimsonfaith91 This is a bit of an anti pattern since it is an edge-based approach and Kubernetes controllers are typically level-based. Support for this exists with WatchEvents but I don't think we want to make it overly accessible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants