beekeeper icon indicating copy to clipboard operation
beekeeper copied to clipboard

Feature Enhancement: Add Periodic Check for Node Funding by Namespace and Label

Open gacevicljubisa opened this issue 1 year ago • 0 comments

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

  1. A configurable time interval for checking services (or pods) within the specified namespace and label.
  2. Nodes are automatically topped up if they fall below a specified amount during these periodic checks.
  3. 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.

gacevicljubisa avatar Oct 21 '24 20:10 gacevicljubisa