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

this is a safe evict , making descheduler more powerful #2974

Closed
wants to merge 1 commit into from

Conversation

gj409237405
Copy link
Contributor

@gj409237405 gj409237405 commented Jul 14, 2023

this is a safe evict , making descheduler more powerful

descheduler pr:kubernetes-sigs/descheduler#1188

@volcano-sh-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign k82cn
You can assign the PR to them by writing /assign @k82cn in a comment when ready.

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

@volcano-sh-bot volcano-sh-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jul 14, 2023
@william-wang
Copy link
Member

@gj199575 Please log a issue firstly and describe your requirement and by the way please use english so that all the contributor can get into the discussion.

@gj409237405 gj409237405 changed the title 和descheduler 联动进行安全重调取 this is a safe evict , making descheduler more powerful Jul 18, 2023
@gj409237405
Copy link
Contributor Author

@gj199575 Please log a issue firstly and describe your requirement and by the way please use english so that all the contributor can get into the discussion.

ok

@volcano-sh-bot volcano-sh-bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jul 19, 2023
@@ -161,7 +162,14 @@ func (db *DefaultBinder) Bind(kubeClient kubernetes.Interface, tasks []*scheduli
var errTasks []*schedulingapi.TaskInfo
for _, task := range tasks {
p := task.Pod
if err := kubeClient.CoreV1().Pods(p.Namespace).Bind(context.TODO(),
if p.Annotations["is-fake"] == "true" {
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm sorry for not get the usage of is-fake annotation, can you add more description about this PR?

if p.Annotations["is-fake"] == "true" {
db.CreateQueue()
p.Annotations["fake-pod"] = task.NodeName
p.Annotations["scheduling.k8s.io/group-name"] = "job1-e7f18111-1cec-11ea-b688-fa163ec79500"
Copy link
Contributor

Choose a reason for hiding this comment

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

Why this is a hard-code annotation with key 'group-name'?

@Thor-wl
Copy link
Contributor

Thor-wl commented Jul 24, 2023

I'm sorry that I cannot merge this PR for there are serious problems both in issue description and code.

@Thor-wl Thor-wl added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 24, 2023
@stale
Copy link

stale bot commented Oct 15, 2023

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Oct 15, 2023
@stale stale bot closed this Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants