Repository navigation
Conversation
|
Skipping CI for Draft Pull Request. |
|
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
🚀 Build Images ReadyImages are ready for commit 3ccdd02. To use with deploy scripts: export MAIN_IMAGE_TAG=5.1.x-446-g3ccdd023b9 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #23828 +/- ##
==========================================
- Coverage 52.66% 52.58% -0.08%
==========================================
Files 2833 2836 +3
Lines 177733 177983 +250
==========================================
- Hits 93605 93596 -9
- Misses 75937 76174 +237
- Partials 8191 8213 +22
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Description
For a feasibility demo/proof-of-concept related to ROX-37259 . Adds
min_container_age_daysto/v1/export/pods. A Pod matches when any live, unfinished container instance started at least that many 24-hour days ago. Zero disables the filter; negative values are invalid. Matching Pods are exported whole, including younger containers.The service applies the age check after the existing query, avoiding a new index or scheduler. Query and timeout behavior remain in effect.
User-facing documentation
Testing and quality
Automated testing
How I validated my change
No filter and zero return the same Pod count.
Before 24 hours, the one-day filter returned no Pods.
A negative age was rejected.
The newly created Pod appeared in the unfiltered export.
After 24 hours, the fleet-wide filter found older Pods but excluded the new Pod.
A namespace query found the new Pod; adding the age filter excluded it.