-
Notifications
You must be signed in to change notification settings - Fork 327
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
when we set priorityclass koord-xxx with preemptionPolicy=Never, priority admission refuse to create pod with error like this: ```text pods "test" is forbidden: the string value of PreemptionPolicy (PreemptLowerPriority) must not be provided in pod spec; priority admission controller computed Never from the given PriorityClass name ``` we overwrite PriorityClassName/Priority in cluster_colocation_profile, so as well PreemptionPolicy. see https://github.com/kubernetes/kubernetes/blob/master/plugin/pkg/admission/priority/admission.go#L188 Signed-off-by: j4ckstraw <j4ckstraw@foxmail.com>
- Loading branch information
Showing
2 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters