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

feature: add more field in preemption toleration policy #839

Open
googs1025 opened this issue Dec 14, 2024 · 2 comments
Open

feature: add more field in preemption toleration policy #839

googs1025 opened this issue Dec 14, 2024 · 2 comments
Assignees
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@googs1025
Copy link
Member

Currently, the preemption toleration policy only has minimum-preemptable-priority and toleration-seconds.
like as follows:

apiVersion: scheduling.k8s.io/v1
kind: PriorityClass
metadata:
  name: toleration-policy-sample
  annotations:
    preemption-toleration.scheduling.x-k8s.io/minimum-preemptable-priority: "10000"
    preemption-toleration.scheduling.x-k8s.io/toleration-seconds: "3600"
value: 8000

Now I want to add more fields:
like:
We can exclude Pods in a specific namespace from being preempted
preemption-toleration.scheduling.x-k8s.io/excluded-namespaces: "kube-system,default,critical-ns"

Maybe there are other filters?

@googs1025
Copy link
Member Author

/assign

@googs1025
Copy link
Member Author

/kind feature

@k8s-ci-robot k8s-ci-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants