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

Reconcile loop called every second on OpenShift, but not on Kubernetes #231

Closed
jpkrohling opened this issue Feb 26, 2019 · 1 comment
Closed
Labels
openshift This item is related to OpenShift

Comments

@jpkrohling
Copy link
Contributor

When running in Kubernetes, the reconcile loop is being called only when the CR is changed, while in OpenShift it's being called every second.

https://groups.google.com/d/msg/operator-framework/DZynMacOgoY/RWaSFxFUBwAJ

#203 might be caused by this.

@jpkrohling jpkrohling added the openshift This item is related to OpenShift label Feb 26, 2019
This was referenced Feb 26, 2019
@jpkrohling
Copy link
Contributor Author

This is actually caused by storing back the CR at the end of the reconciliation loop. We need to figure out a way to not update the CR in case we didn't change it, otherwise, OpenShift will trigger a new request. Kubernetes, on the other hand, seems to be smart enough and won't trigger an object update if there are no changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
openshift This item is related to OpenShift
Projects
None yet
Development

No branches or pull requests

1 participant