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

[question]priorityClassName和koordinator.sh/priority label的关系是什么,取值有限制么,koordinator.sh/priority必须高于priorityClassName的值么 #2255

Open
13567436138 opened this issue Nov 10, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation kind/question Support request or question relating to Koordinator

Comments

@13567436138
Copy link

What happened:

apiVersion: v1
kind: Pod
metadata:
  name: nginx
  labels:
    env: test
    koordinator.sh/priority: "5300"
spec:
  containers:
  - name: nginx
    image: nginx
    imagePullPolicy: IfNotPresent
  priorityClassName: koord-batch

[question]priorityClassName和koordinator.sh/priority label的关系是什么,取值有限制么,koordinator.sh/priority必须高于priorityClassName的值么

What you expected to happen:

Environment:

  • Koordinator version: - v0.6.2
  • Kubernetes version (use kubectl version): v1.22.5
  • docker/containerd version: containerd 1.5.0
  • OS (e.g: cat /etc/os-release): Ubuntu 20.04.4 LTS
  • Kernel (e.g. uname -a): Linux 5.10.112-11.al8.x86_64 ✨ Add NodeMetric API #1 SMP Tue May 24 16:05:50 CST 2022 x86_64 x86_64 x86_64 GNU/Linux

Anything else we need to know:

@13567436138 13567436138 added the kind/question Support request or question relating to Koordinator label Nov 10, 2024
@saintube
Copy link
Member

@13567436138 koordinator.sh/priority 是在同 priorityClassName 下的子优先级配置,目前主要用于兼容一些存量 pods 的排序逻辑,常规场景建议优先使用 priorityClassName。

@saintube saintube added the documentation Improvements or additions to documentation label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation kind/question Support request or question relating to Koordinator
Projects
None yet
Development

No branches or pull requests

2 participants