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

Pass schedulingPolicy.PriorityClass to Launcher and Workers #536

Closed
tenzen-y opened this issue Mar 2, 2023 · 4 comments
Closed

Pass schedulingPolicy.PriorityClass to Launcher and Workers #536

tenzen-y opened this issue Mar 2, 2023 · 4 comments

Comments

@tenzen-y
Copy link
Member

tenzen-y commented Mar 2, 2023

/kind feature

Since #520, the mpi-operator respects schedulingPolicy when creating PodGroup.
However, currently, the mpi-operator doesn't pass schedulingPolicy.PriorityClass to Launcher and Workers even if they don't have priorityClass.

So I would like to pass schedulingPolicy.PriorityClass to ReplicaSpec if they don't have priorityClass.

@alculquicondor @terrytangyuan WDYT?

@alculquicondor
Copy link
Collaborator

Do we do the same in other training-operator controllers?

I've heard from some people that they prefer to have a job-level priority that it's independent of the pods priority.

@tenzen-y
Copy link
Member Author

tenzen-y commented Mar 2, 2023

Do we do the same in other training-operator controllers?

No, the training-operator doesn't have the same logic.

I've heard from some people that they prefer to have a job-level priority that it's independent of the pods priority.

It makes sense. It might be better to keep the current logic.

@tenzen-y
Copy link
Member Author

/close

@google-oss-prow
Copy link

@tenzen-y: Closing this issue.

In response to this:

/close

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

No branches or pull requests

2 participants