scheduler-plugins icon indicating copy to clipboard operation
scheduler-plugins copied to clipboard

[KEP] Add resource policy plugin

Open KunWuLuan opened this issue 2 years ago • 31 comments

/kind feature

What type of PR is this?

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?


KunWuLuan avatar May 25 '23 01:05 KunWuLuan

Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

k8s-ci-robot avatar May 25 '23 01:05 k8s-ci-robot

Hi @KunWuLuan. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

k8s-ci-robot avatar May 25 '23 01:05 k8s-ci-robot

releated to #475

KunWuLuan avatar May 25 '23 01:05 KunWuLuan

/cc

ffromani avatar May 26 '23 15:05 ffromani

@denkensk @Huang-Wei Hi, if you have time, you can help to review the kep, thanks very much. 😆

KunWuLuan avatar Jun 06 '23 10:06 KunWuLuan

/ok-to-test

It's a bit of a crazy time for me but I'll try to also add my (non-binding) review

ffromani avatar Jun 06 '23 10:06 ffromani

I will try to review it by this week.

Huang-Wei avatar Jun 06 '23 18:06 Huang-Wei

Hi, @Huang-Wei , This PR is ready for review. PTAL. Thanks for your time. : )

KunWuLuan avatar Jul 14 '23 02:07 KunWuLuan

There is a known issue, when the number of nodes in cluster is larger than 100, scheduler will not find all feasible nodes unless percentageOfNodesToScore is set to 100. This can make resource policy lose efficacy.

KunWuLuan avatar Jul 14 '23 02:07 KunWuLuan

Deploy Preview for kubernetes-sigs-scheduler-plugins canceled.

Name Link
Latest commit 5062e58da9f3af9892c1f1700ef777ef1e84a93b
Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-scheduler-plugins/deploys/6603b72d49bb010008f983aa

netlify[bot] avatar Sep 12 '23 07:09 netlify[bot]

@ffromani @Huang-Wei Hi, do you have any other questions?

KunWuLuan avatar Nov 29 '23 02:11 KunWuLuan

The main blocker atm is that the KEP template is not fully filled (e.g. PostFilter - do we need it? Do we have Graduation criterias? Do we need Production Readiness? [probably not] We probably need a few words in Feature enablement and rollback though)

From what I've read so far I have no major objections. About the architecture and the fitness of this plugin in the existing ecosystem I'd have to defer to someone more experience in the scheduling.

ffromani avatar Jan 15 '24 09:01 ffromani

The main blocker atm is that the KEP template is not fully filled (e.g. PostFilter - do we need it? Do we have Graduation criterias? Do we need Production Readiness? [probably not] We probably need a few words in Feature enablement and rollback though)

From what I've read so far I have no major objections. About the architecture and the fitness of this plugin in the existing ecosystem I'd have to defer to someone more experience in the scheduling.

Thanks! I will add these part.

KunWuLuan avatar Jan 16 '24 03:01 KunWuLuan

Have updated the kep

KunWuLuan avatar Jan 19 '24 08:01 KunWuLuan

for #475

KunWuLuan avatar Jan 22 '24 11:01 KunWuLuan

@ffromani @Huang-Wei Hi, please have a look when u have time. Thanks for your time. : )

KunWuLuan avatar Feb 01 '24 01:02 KunWuLuan

The Kubernetes project currently lacks enough contributors to adequately respond to all PRs.

This bot triages PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Mark this PR as fresh with /remove-lifecycle stale
  • Close this PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Jun 25 '24 07:06 k8s-triage-robot

/remove-lifecycle stale

KunWuLuan avatar Jun 25 '24 12:06 KunWuLuan

The Kubernetes project currently lacks enough contributors to adequately respond to all PRs.

This bot triages PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Mark this PR as fresh with /remove-lifecycle stale
  • Close this PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Sep 23 '24 13:09 k8s-triage-robot

/remove-lifecycle stale

KunWuLuan avatar Sep 24 '24 10:09 KunWuLuan

The Kubernetes project currently lacks enough contributors to adequately respond to all PRs.

This bot triages PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Mark this PR as fresh with /remove-lifecycle stale
  • Close this PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Dec 23 '24 11:12 k8s-triage-robot

/remove-lifecycle stale

KunWuLuan avatar Dec 24 '24 03:12 KunWuLuan

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: KunWuLuan Once this PR has been reviewed and has the lgtm label, please assign ffromani for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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 avatar Jan 24 '25 01:01 k8s-ci-robot

Deploy Preview for kubernetes-sigs-scheduler-plugins canceled.

Name Link
Latest commit eba975893361157c93d3a3ee891b361431232da8
Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-scheduler-plugins/deploys/67934ad1c795620008481cee

netlify[bot] avatar Jan 24 '25 01:01 netlify[bot]

@KunWuLuan I guess the toc needs a refresh. Could you re-run hack/update-toc.sh?

Huang-Wei avatar Jan 27 '25 00:01 Huang-Wei

where is implemention?it has been a year ago。

13567436138 avatar Jan 28 '25 02:01 13567436138

The Kubernetes project currently lacks enough contributors to adequately respond to all PRs.

This bot triages PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Mark this PR as fresh with /remove-lifecycle stale
  • Close this PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Apr 28 '25 03:04 k8s-triage-robot

I will give an implementation recently

KunWuLuan avatar Apr 29 '25 13:04 KunWuLuan

The Kubernetes project currently lacks enough active contributors to adequately respond to all PRs.

This bot triages PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Mark this PR as fresh with /remove-lifecycle rotten
  • Close this PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

k8s-triage-robot avatar May 29 '25 13:05 k8s-triage-robot

/remove-lifecycle rotten

KunWuLuan avatar Jun 04 '25 00:06 KunWuLuan