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

Timeout #136

Merged
merged 4 commits into from
Aug 27, 2024
Merged

Timeout #136

merged 4 commits into from
Aug 27, 2024

Conversation

cbarbian-sap
Copy link
Contributor

@cbarbian-sap cbarbian-sap commented Aug 20, 2024

This PR adds a processing timeout to the component operator framework.

So far, if not all dependent objects of a component were in a Ready state, the component stayed in a Processing state, potentially forever. This is now changed. By default, there is a timeout assumed equal to the effective retry interval. If dependents do not get ready within that period, the component state will flip to Error (but the reconciler will still continue to reconcile the dependent objects). The timeout restarts counting whenever the component itself changes, or if the generated manifests of the dependent objects change.

Components (or their spec) can implement the new interface TimeoutConfiguration (or embed the convenience type TimeoutSpec) in order to make the timeout configurable.

@cbarbian-sap cbarbian-sap merged commit 2347b2f into main Aug 27, 2024
7 checks passed
@cbarbian-sap cbarbian-sap deleted the timeout branch August 27, 2024 10:34
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

Successfully merging this pull request may close these issues.

1 participant