Allow customization of taskscaler and fleeting parameters in config.toml
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
What does this MR do?
This change adds an internal configurable parameters DeletionRetryInterval, FailureThreshold, ShutdownDeletionInterval, and ShutdownDeletionRetries as configurable options in config.toml.
For the parameters UpdateInterval and UpdateIntervalWhenExpecting the defaults from module fleeting are used instead of hardcoded values.
Why was this MR needed?
This would allow administrators to fine-tune these values based on their specific needs or infrastructure requirements.
What's the best way to test this MR?
Add the new parameters to the config.toml with values different to the defaults to validate that the new values are uses.
What are the relevant issue numbers?
Info
Sven Geisler sven.geisler@mercedes-benz.com, Mercedes-AMG GmbH Provider Information
Edited by Sven Geisler