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

Add support for specifying timeout in catalogs #481

Merged

Conversation

johnksv
Copy link
Contributor

@johnksv johnksv commented Sep 2, 2024

P.t. every chart uses the default 5 min helm timeout. We have however encountered that some chart may use more than these 5 minutes to get installed. This can be due to a combination of scale up + pulling images + mounting buckets. Therefore we need a way to configure timeout.

This PR propose specifying the timeout during install on the catalog:

image

Originally I wanted to implement this as a java.time.Duration, but due to some issues with jackson I ended up using String

@johnksv johnksv force-pushed the add-support-for-catalog-timeout branch from 6ecca40 to 4408435 Compare September 2, 2024 07:33
Since some chart may use more than the standard 5 min timeout that helm
is configured with to install.
Use string as type since there was some issues with using java.time.Duration and parsing with jackson.
@johnksv johnksv force-pushed the add-support-for-catalog-timeout branch from 4408435 to a601126 Compare September 4, 2024 06:53
@johnksv johnksv marked this pull request as ready for review September 4, 2024 13:31
Copy link

sonarcloud bot commented Sep 4, 2024

@olevitt
Copy link
Contributor

olevitt commented Sep 9, 2024

LGTM, thanks 👍

@olevitt olevitt added the enhancement New feature or request label Sep 9, 2024
@olevitt olevitt merged commit 1a1e241 into InseeFrLab:main Sep 9, 2024
5 checks passed
@johnksv johnksv deleted the add-support-for-catalog-timeout branch October 22, 2024 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants