Skip to content

Deprecate node-selector, max-pods-to-evict-per-node and evict-local-storage-pods flags and promote then to policy v1alpha1 fields#380

Merged
k8s-ci-robot merged 1 commit intokubernetes-sigs:masterfrom
ingvagabund:move-some-flags-under-descheduler-polic
Aug 21, 2020
Merged

Deprecate node-selector, max-pods-to-evict-per-node and evict-local-storage-pods flags and promote then to policy v1alpha1 fields#380
k8s-ci-robot merged 1 commit intokubernetes-sigs:masterfrom
ingvagabund:move-some-flags-under-descheduler-polic

Conversation

@ingvagabund
Copy link
Copy Markdown
Contributor

@ingvagabund ingvagabund commented Aug 19, 2020

  • --node-selector promoted to nodeSelector
  • --evict-local-storage-pods promoted to evictLocalStoragePods
  • --max-pods-to-evict-per-node promoted to maxNoOfPodsToEvictPerNode

Configuration in the descheduler policy takes preference over the flags

Keeping descheduling-interval flag as it is since it's not related to a particular strategy but to the overall controller configuration.

@k8s-ci-robot k8s-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Aug 19, 2020
@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Aug 19, 2020
@ingvagabund ingvagabund force-pushed the move-some-flags-under-descheduler-polic branch from 41e7a2e to 5f64dc0 Compare August 19, 2020 12:36
@ingvagabund ingvagabund force-pushed the move-some-flags-under-descheduler-polic branch 2 times, most recently from 4ad4d63 to cc49e2e Compare August 19, 2020 12:43
Copy link
Copy Markdown
Member

@damemi damemi left a comment

Choose a reason for hiding this comment

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

/approve
think this looks good to me. pretty simple change and the flags are still supported though clearly marked as deprecated 👍

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: damemi, ingvagabund

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

The pull request process is described here

Details 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 20, 2020
@seanmalloy
Copy link
Copy Markdown
Member

@ingvagabund please update the output from descheduler --help here: https://github.com/kubernetes-sigs/descheduler/blob/master/docs/user-guide.md#cli-options. Other than that this looks good. Thanks!

…torage-pods flags and promote then to policy v1alpha1 fields
@ingvagabund ingvagabund force-pushed the move-some-flags-under-descheduler-polic branch from cc49e2e to 89541f7 Compare August 21, 2020 11:28
@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 21, 2020
@ingvagabund
Copy link
Copy Markdown
Contributor Author

@seanmalloy docs/user-guide.md updated

@seanmalloy
Copy link
Copy Markdown
Member

/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 21, 2020
@seanmalloy
Copy link
Copy Markdown
Member

@ingvagabund I think you can remove the hold when you are ready for merge. Thanks!

@ingvagabund
Copy link
Copy Markdown
Contributor Author

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 21, 2020
@k8s-ci-robot k8s-ci-robot merged commit d65a7c4 into kubernetes-sigs:master Aug 21, 2020
@ingvagabund ingvagabund deleted the move-some-flags-under-descheduler-polic branch August 21, 2020 13:02
@damemi damemi mentioned this pull request Oct 23, 2020
briend pushed a commit to briend/descheduler that referenced this pull request Feb 11, 2022
…gs-under-descheduler-polic

Deprecate node-selector, max-pods-to-evict-per-node and evict-local-storage-pods flags and promote then to policy v1alpha1 fields
ingvagabund pushed a commit to ingvagabund/descheduler that referenced this pull request Feb 25, 2026
…er/release-4.21/registry.access.redhat.com-ubi9-ubi-minimal-latest

chore(deps): update registry.access.redhat.com/ubi9/ubi-minimal:latest docker digest to 90bd85d - abandoned
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. 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.

4 participants