feat(preheat) : add project preheat policy command#871
Open
Sypher845 wants to merge 15 commits into
Open
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #871 +/- ##
=========================================
- Coverage 10.99% 8.03% -2.96%
=========================================
Files 173 302 +129
Lines 8671 15305 +6634
=========================================
+ Hits 953 1230 +277
- Misses 7612 13958 +6346
- Partials 106 117 +11 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
0557d6a to
8d83314
Compare
ac81d05 to
df4a6d0
Compare
This was referenced May 13, 2026
qcserestipy
requested changes
May 18, 2026
Collaborator
qcserestipy
left a comment
There was a problem hiding this comment.
Thank you for your contribution! I have left a few comments. Especially in the create command there a few inconsistencies when it comes to the config file flag. Please take a look at them.
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
9bd5e8b to
1101e66
Compare
Signed-off-by: Sypher845 <suyashpatil845@gmail.com>
1101e66 to
316d121
Compare
Contributor
Author
|
@qcserestipy made the changes . PTAL, the CI is failing because of demo.goharbor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Adds the harbor project preheat policy command group to manage P2P preheat policies under a project. Harbor supports P2P (Peer-to-Peer) preheat distribution using engines like Dragonfly or Kraken. Users can create preheat policies under a project to preload container images into a P2P network before they are needed. The preheat command allows users to manage preheat policies, monitor executions, and inspect tasks from the terminal.
Commands
harbor project preheat policy list— List preheat policiesharbor project preheat policy view— View preheat policy detailsharbor project preheat policy delete— Delete a preheat policyharbor project preheat policy start— Trigger a preheat policy manuallyharbor project preheat policy create— Create a new preheat policyConfig used for testing:
harbor project preheat policy update— Update an existing preheat policyType of Change