[Invoker] Check the file system disk space usage to avoid that invokers run out of space (cont.) #162
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check the file system disk space usage to avoid that invokers run out of space. Make the max threshold values for root and logs filesystem configurable.
Description
Invoker pods may run out of space on their root and log volumes for very frequent scheduled actions producing a high load of log messages or because of many docker images which are not cleaned up. By this code change this situation is taken into consideration and the affected invoker will be temporary evacuated until the situation has been resolved. By this code change the file system occupation is checked every minute. Also the logic to do hysteresis has been removed as it interferes with the image monitor.
My changes affect the following components
Types of changes
Checklist: