-
Notifications
You must be signed in to change notification settings - Fork 76
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
Add pod owner attributes for RDMA metrics #4294
base: main
Are you sure you want to change the base?
Conversation
9a09ed9
to
3c868e1
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4294 +/- ##
==========================================
+ Coverage 79.60% 79.98% +0.37%
==========================================
Files 53 54 +1
Lines 6252 6359 +107
==========================================
+ Hits 4977 5086 +109
+ Misses 1083 1071 -12
- Partials 192 202 +10
Flags with carried forward coverage won't be shown. Click here to find out more.
|
This problem #4293 seems to cause CI to fail and the trivy images failed https://github.com/spidernet-io/spiderpool/actions/runs/11910688357/job/33237767686?pr=4294, please wait #4289 |
638d96a
to
c8de765
Compare
59b290a
to
0be0d4c
Compare
cb6dc13
to
4eef3b3
Compare
93045fe
to
838dec1
Compare
几个 图片 可以把 整个 窗口 都 截出来,不是 部分 内容 |
838dec1
to
ee79f3f
Compare
Done :
|
93940d0
to
2d0e1cc
Compare
@@ -0,0 +1,10 @@ | |||
# for rdma metrics exporter, read rdma pod owner's info | |||
# for example, the rdma pod owner is a job, the job's owner is a cronjob |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这是不是有点暴力,读取所有的资源。目前 rbac 文件都是自动生成,在在 pkg/k8s/apis/声明,是不是应该 精确声明哪些资源应该可以被list/watch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
是的,这个会被 一些 社区 安全 规则 challenge 的
并且,如果这个 role 是 观测单独需要的,它 应该有 if 的 条件 使能 判断, 否则,这个 role 的一些 配置 合入 现有的 role 中
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
单独一个项目比较好, rdma-expoter/rdma-expoter,一个组件一个职责,避免 role 滥用
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个是因为 AI 之类的 Job 是不可预期的 CRD,我先加个开关,仅开了 rdma 观测才绑定所有 read,在 pkg/k8s/apis/声明目前开关好像无法实现。
8d5832c
to
aee4d06
Compare
aee4d06
to
a1240a2
Compare
a1240a2
to
cc76ca6
Compare
Signed-off-by: lou-lan <[email protected]>
cc76ca6
to
3976574
Compare
CI 失败已知问题,已在 #4280 中修复。 |
No description provided.