-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: CollaSet supports exclude and include pod (#258)
* remove progress FinishingOpsLifecycle * refactor operateTargets * refactor sync pods * add orphan pod pvc * exclude include done, todo (1) recreate pod if revision not exists; (2) expectations * clean AllowPodExclude AllowPodInclude func * fix replace and exclude * ensure toDelete toReplace toExclude priority * default to recreate pod when update, if currentRevision not found * add recorder * add expectation for exclude include * remove scaleStrategy check * fix replace panic * fix resourcecontext bug * do not clean podToDelete in scaleStrategy * add ut: podToExclude * add e2e: exclude include pod * add ut: exclude origin pod * refactor allocate ID * add replacePods func * refactor replace func * add ut for utils * refactor injectRevision * exclude pods which have to-exclude label * refactor getPodsToDelete comment * improve exclude include event * fix ut: TestAllowResourceInclude * fix kube-api * fix compile * fix compile * bump kube-api v0.6.5 * add cls validating for exinclude intersection * rephrase recoder when rv label not effective * check intersection for all pod lists in validating --------- Co-authored-by: Chaer <[email protected]> Co-authored-by: chaer <[email protected]>
- Loading branch information
1 parent
d95fb01
commit b4cce9e
Showing
20 changed files
with
2,405 additions
and
250 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.