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

define workload-policy scheduler plugin for k8s1.21 #810

Open
wants to merge 1 commit into
base: release-k8s1.21
Choose a base branch
from

Conversation

qiuming520
Copy link
Member

What type of PR is this?

/kind feature

What does this PR do?

define workload-policy scheduler plugin for k8s1.21

Which issue(s) does this PR fix?

Fixes ##809

Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE

// AllocationMethod sets the scheduling method to schedule pods for a WorkloadPolicy.
// Valid options are Fill or Balance.
// Fill schedules pods in high load priority mode between topologies.
// Balance schedules pods in load balance between different topologies.
Copy link
Contributor

Choose a reason for hiding this comment

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

不太看得懂,这两个类型分别是什么意思啊

Copy link
Member Author

Choose a reason for hiding this comment

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

@duanmengkk 重新翻译了下
// Fill 同拓扑节点之间,同 label Pod 填压模式调度 (1. - count/desired ) * 100
// Fill, pods with the same label are scheduled in fill mode between nodes in the same topology

// Balance 同拓扑节点之间,同 label Pod 均衡模式调度( count/desired * 100)
// Balance, pods with the same label are scheduled in balance mode between nodes in the same topology

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants