-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Allow configuring workspace start timeout via CheCluster spec #21820
Comments
I think |
My bad -- the field in DWOC is Probably makes sense to use |
Make sense for me as well. |
For this feature, I'm not sure if I should make it so that the DWOC field i.e. Che Cluster CR The only affected users from this would be those who are using the workaround @amisevsk gave:
If these users had set a non-default progress timeout value, and then upgrade Che (once my patch is merged), the progress timeout value in the DWOC would be reset to 5 minutes, and they would have to modify the timeout field in the Che Cluster CR. I don't think this is really a breaking change (since it only affects the workaround), but it may be worth considering. CC: @ibuziuk |
Fix eclipse-che/che#21820 Signed-off-by: Andrew Obuchowicz <[email protected]>
Fix eclipse-che/che#21820 Signed-off-by: Andrew Obuchowicz <[email protected]>
Is your enhancement related to a problem? Please describe
Since workspace start is managed by the DevWorkspace Operator, the timeout before a starting workspace is marked as failed is now configured through the DevWorkspace Operator Config (DWOC) CR, deprecating older Che properties.
For certain CheCluster fields (e.g. PVC configuration), the Che Operator manages these fields by creating a custom DWOC that is used for all workspaces. This should be extended to allow setting
.config.workspace.progressTimeout
in the DWOC based on a CheCluster field as well.Describe the solution you'd like
Start timeout for DevWorkspaces can be configured through the CheCluster spec
Describe alternatives you've considered
It's currently possible to work around this by setting the field in the CheCluster-owned DWOC in the install namespace. As this field is not managed by Che, its value is not reverted by the Che Operator.
Release Notes Text
The timeout to consider workspaces startup as failed was hardcoded and could not be configured by administrators. With this new feature Che administrators can specify the workspaces startup timeout in the CheCluster custom resource.
The text was updated successfully, but these errors were encountered: