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

add placement performance report #354

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ldpliu
Copy link
Contributor

@ldpliu ldpliu commented May 19, 2023

No description provided.

@openshift-ci openshift-ci bot requested review from mikeshng and qiujian16 May 19, 2023 06:24
@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 19, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ldpliu
Once this PR has been reviewed and has the lgtm label, please assign gurnben for approval. For more information see the Kubernetes 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

@ldpliu
Copy link
Contributor Author

ldpliu commented May 19, 2023

/cc @elgnay @haoqing0110 @xuezhaojun

@openshift-ci openshift-ci bot requested review from elgnay and haoqing0110 May 19, 2023 06:44
## 概要
在`open-cluster-management`中,集群调度通过placement进行。Placement可以从一个或多个集群集中选取一组目标集群。选出的结果会被存储到另一个叫PlacementDecision的api。placement 从三个维度定义了目标集群的选择:
- Predicates(requiredClusterSelector):Predicates中可以定义一组labelSelector和claimSelector。即可以通过集群的label 和集群claim 信息选择目标集群。
- Taints/Tolerations:通过Taints/Tolerations,用户可以避免选择到一些不健康或者不可达的集群。用户还可以定义自己的taint从而避免特定属性的集群被选择。这对用户想要设置一个集群为maintenance mode,然后在这个集群上清楚负载是非常有用。
Copy link
Member

Choose a reason for hiding this comment

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

Taints/Tolerations can be used to select and prefer clusters, I'm thinking make it part of Predicates and Prioritizers is better than listing it separately.

@openshift-merge-robot
Copy link
Contributor

PR needs rebase.

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.

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

Successfully merging this pull request may close these issues.

3 participants