Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bring removeduplicates to plugin #892

Merged
merged 1 commit into from
Aug 10, 2022
Merged

bring removeduplicates to plugin #892

merged 1 commit into from
Aug 10, 2022

Conversation

JaneLiuL
Copy link
Member

No description provided.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jul 28, 2022
@k8s-ci-robot k8s-ci-robot requested review from k82cn and seanmalloy July 28, 2022 04:39
@knelasevero
Copy link
Contributor

I think the deletiion of duplicates.go and duplicates_test.go are missing. With them moved to the framework better to delete from pkg/descheduler/strategies/

@a7i
Copy link
Contributor

a7i commented Aug 2, 2022

/ok-to-test

@k8s-ci-robot k8s-ci-robot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Aug 2, 2022
@JaneLiuL
Copy link
Member Author

JaneLiuL commented Aug 4, 2022

/cc @ingvagabund

Copy link
Contributor

@ingvagabund ingvagabund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank You @JaneLiuL. I have found only few nits. Also as mentioned by @knelasevero it would be great to remove both
https://github.com/kubernetes-sigs/descheduler/blob/master/pkg/descheduler/strategies/duplicates.go and https://github.com/kubernetes-sigs/descheduler/blob/master/pkg/descheduler/strategies/duplicates_test.go in the same commit. So we can see the difference of both files and compare it with the new plugin files.

@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Aug 4, 2022
@JaneLiuL
Copy link
Member Author

JaneLiuL commented Aug 4, 2022

/retest

@k8s-ci-robot k8s-ci-robot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. and removed needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Aug 4, 2022
@JaneLiuL
Copy link
Member Author

JaneLiuL commented Aug 5, 2022

/assign @ingvagabund

@ingvagabund
Copy link
Contributor

@JaneLiuL few more nits which are more of a cosmetic nature. I will leave the lgtm part for @a7i wrt. #892 (comment) comment.

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ingvagabund

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 5, 2022
@JaneLiuL
Copy link
Member Author

JaneLiuL commented Aug 5, 2022

thanks @ingvagabund may i update at next pr? i will bring the toomayrestarts plugin tonight after this pr merge.

@ingvagabund
Copy link
Contributor

@JaneLiuL I apologies, I missed your comment. #899 merged. Please feel free to ping me after the PR is rebased.

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 9, 2022
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 10, 2022
@JaneLiuL
Copy link
Member Author

@ingvagabund would you help to have a look for this pr? :)

@ingvagabund
Copy link
Contributor

ValidateRemoveDuplicatesArgs built on top of #899

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 10, 2022
@ingvagabund
Copy link
Contributor

@JaneLiuL Thank You for your patience

@k8s-ci-robot k8s-ci-robot merged commit 0a50d5a into kubernetes-sigs:master Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants