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

feat: adding support for priority class name #45

Merged
merged 2 commits into from
Mar 7, 2022

Conversation

chrisjohnson00
Copy link
Contributor

This adds the ability to define a priority class for the pod. This is implemented with backward comparability in mind, the priory class is only used if/when it is set in the values.yaml file.
My use case for this is:

  • My cluster is designed for doing some CPU heavy batch jobs, which come and go as needed.
  • When I have a large number of the batch jobs, sometimes I have game servers or other applications deployed that don't allow maximum cluster utilization by these batch jobs. Adding a non-default, lower priority to this deployment allows K8s to preempt my game server pods if other pods of a higher priority need the resources they are consuming.

@Addyvan Addyvan merged commit 7cabace into Addyvan:main Mar 7, 2022
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