登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
登录
注册
代码拉取完成,页面将自动刷新
开源项目
>
开发工具
>
测试工具
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
15
Star
29
Fork
41
openEuler
/
rubik
代码
Issues
3
Pull Requests
3
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
205
[WIP]rubik: supports multi-level priority of CPU and memory QoS
开启的
存在冲突
vegbir:master
openEuler:master
vegbir
创建于 2023-11-04 17:38
克隆/下载
HTTPS
SSH
复制
下载 Email Patch
下载 Diff 文件
### 描述 1. Configuration changes Added `volcano.sh/qos-priority` annotation for kubernetes POD, which is used to identify the priority of Pod. The optional values are [`support`, `batch`, `user`, `core`, `system`] (the priority increases in order). If this option is not configured, the default is `user` level. 2. Code optimization: Implement QoS related methods by defining the operator interface. 3. Function description Extend the two-level QoS Level to five-level QoS Level. If the volcano.sh/qos-priority and volcano.sh/preemptable annotations are set at the same time, the multi-level priority annotation takes precedence over the two-level priority annotation. `volcano.sh/preemptable=”true”` is equivalent to `volcano.sh/qos-priority=”batch”` `volcano.sh/preemptable=”false”` is equivalent to `volcano.sh/qos-priority=”user”` support, batch are offline services, user, critical, system are online services > **system** (highest level): The process of k8s core components and services, responsible for > maintaining and managing the normal operation of the entire system. > **core** : A key component that supports the operation of core business and is crucial to the stability and availability of the business. Such as: payment system, core database, key services (such as authentication, authorization). > **user** : The process with which the user interacts directly, providing the user interface and application functionality. Such as graphical interface, browser, etc. > **batch** : Mainly handles background batch processing tasks and businesses, such as data processing, transcoding, AI training, etc. > **support** : Auxiliary tasks, services or other processes in the system that do not require user participation and require less resources. They may include logging, scheduled tasks, auxiliary services, etc. ### 关联issue #I7KBT7 ### 修改类型 - 新特性开发 ### API变更 add `volcano.sh/qos-priority` ### 验证报告 测试yaml: ```yaml apiVersion: v1 kind: Pod metadata: name: ubuntu annotations: volcano.sh/preemptable: "true" volcano.sh/qos-priority: "system" spec: containers: - name: test image: ubuntu:latest imagePullPolicy: Never command: ["sleep"] args: ["9999"] resources: requests: cpu: 1 limits: cpu: 1 ```  ```yaml annotations: volcano.sh/preemptable: "true" volcano.sh/qos-priority: "core" ```  ```yaml annotations: volcano.sh/preemptable: "true" volcano.sh/qos-priority: "user" ```  ```yaml annotations: volcano.sh/preemptable: "false" volcano.sh/qos-priority: "batch" ```  ```yaml annotations: volcano.sh/preemptable: "false" volcano.sh/qos-priority: "support" ``` 
此 Pull Request 无法自动合并
尝试通过 WebIDE 解决冲突
怎样手动合并此 Pull Request
git checkout master
git pull https://gitee.com/vegbir/rubik.git master
git push origin master
评论
47
提交
1
文件
5
检查
代码问题
0
批量操作
展开设置
折叠设置
审查
Code Owner
审查人员
weibaohui
weibaohui
Jianmin
jianminw
yangzhao_kl
yangzhao_kl
haozi007
duguhaotian
leon wang
wonleing
鲁卫军
lu-wei-army
gaodaweiky
gaodaweiky
zmr_2020
zmr_2020
zhongtao
taotao-sauce
liuxu
liuxu180400617
未设置
最少人数
0
测试
weibaohui
weibaohui
Jianmin
jianminw
yangzhao_kl
yangzhao_kl
haozi007
duguhaotian
leon wang
wonleing
鲁卫军
lu-wei-army
gaodaweiky
gaodaweiky
zmr_2020
zmr_2020
zhongtao
taotao-sauce
liuxu
liuxu180400617
未设置
最少人数
0
优先级
不指定
严重
主要
次要
不重要
标签
openeuler-cla/yes
kind/feature
ci_successful
sig/sig-CloudNative
关联 Issue
I7KBT7
【功能】调度支持多级优先级
Pull Request 合并后将关闭上述关联 Issue
里程碑
未关联里程碑
合并选项
合并后删除提交分支
提交分支为默认分支,无法删除
合并后关闭提到的 Issue
接受 Pull Request 时使用扁平化(Squash)合并
勾选此选项后,将建议使用 Squash Merge 方式合并以精简提交历史记录
参与者
(3)
1
https://gitee.com/openeuler/rubik.git
git@gitee.com:openeuler/rubik.git
openeuler
rubik
rubik
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册