beekeeper
beekeeper copied to clipboard
Feature Enhancement: Add Periodic Check for Node Funding by Namespace and Label
Enhance the existing node funding feature to include a periodic check for services (preferred over pods) based on the specified namespace and label, and ensure nodes are topped up to a specified amount regularly.
Current Behavior
- The current feature allows nodes to be funded by specifying namespace and label.
- However, it does not periodically check and top up nodes based on a time interval.
New Requirements
- Periodic Check:
- Add a periodic check for all services (or pods) within the specified namespace and label.
- The time interval for these checks should be configurable (e.g., every X minutes/hours).
Acceptance Criteria
- A configurable time interval for checking services (or pods) within the specified namespace and label.
- Nodes are automatically topped up if they fall below a specified amount during these periodic checks.
- Configuration for both time period and top-up amount is available and works correctly with existing functionality.
Requested by
@darkobas2
Additional Notes
- Services are preferred over pods to improve efficiency and simplify management.
- Ensure the enhancement integrates with the current node funding logic.