gpu-operator: variant list is hardcoded in the iaas bundle and gpu overrides are ignored silently under container
维护者通常 3 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 50/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- helm, kubernetes
调研方向
Read packages/core/platform/templates/bundles/iaas.yaml and packages/core/platform/sources/gpu-operator.yaml to compare the accepted variant sets, then inspect packages/core/platform/templates/NOTES.txt and the GPU transition documentation request. Add coverage for variant consistency, a NOTES warning for ignored gpu.* values under container, and migration guidance; done means all three review concerns are addressed without making the warning fatal.
由索引模型根据 Issue 内容生成。
描述
Problem / motivation
Three review threads from #4101 are still open. The accepted GPU operator variant set is hardcoded in the iaas bundle, gpu.* overrides are dropped silently when the variant is container, and the move to container is not documented.
The variant list is written out in packages/core/platform/templates/bundles/iaas.yaml:77-78 (default, vgpu, container). The comment at lines 65-70 only asks whoever adds a variant to packages/core/platform/sources/gpu-operator.yaml to update this list as well. Nothing checks that the two stay equal, so a new variant in the PackageSource would be rejected by the bundle guard. Review thread: https://github.com/cozystack/cozystack/pull/4101#discussion_r3950900243
Under container the whole gpu wiring block is skipped (iaas.yaml:80). A user who sets gpu.permittedHostDevices or gpu.mediatedDevicesConfiguration together with gpuOperatorVariant: container gets no error and no hint that the values are ignored. packages/core/platform/templates/NOTES.txt has no GPU message at all. The reviewer asked for a NOTES warning, explicitly not a fail. Review thread: https://github.com/cozystack/cozystack/pull/4101#discussion_r3950900248
The third thread, https://github.com/cozystack/cozystack/pull/4101#discussion_r3950900254, asks for docs on the move from default or vgpu to container. The move removes the HostDevices feature gate and permittedHostDevices, which affects admission of existing GPU VMs. cozystack/website#685 does not cover this, it only fixes the page wording for the container end state.
Proposed solution
Derive the variant set from the PackageSource, or add a test that compares it with the bundle list. Add a NOTES warning when gpu.* is set under container. Document the transition.
Scope check
- This affects a single component / package
- I can describe the expected behavior concretely
Additional context
All line numbers are at c117420f5e1363dcd88d35372ff2eac52e5d93f2.
- 主要语言
- Go
- 星标
- 2.2k
- 派生
- 209
- 平均合并
- 4 天 14 小时
- 30 天内合并 PR
- 140
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
cozystack/cozystack 的其他 Issue
-
triage/needs-triage
难度 2/5 1-3 小时 新手友好度 78/100
cozystack/cozystack#5464 · 1 个 reaction ·
维护者通常 3 天内回复
-
test(kubernetes-nodes): stop hand-typing the default Talos version in tests that are not about it未关闭area/testing kind/cleanup triage/needs-triage
难度 2/5 1-3 小时 新手友好度 74/100
cozystack/cozystack#5456 · 1 个 reaction ·
维护者通常 3 天内回复
-
area/testing kind/cleanup triage/needs-triage
难度 2/5 1-3 小时 新手友好度 83/100
cozystack/cozystack#5447 · 1 个 reaction ·
维护者通常 3 天内回复
-
area/kubernetes kind/bug triage/needs-triage
难度 2/5 1-3 小时 新手友好度 72/100
cozystack/cozystack#5445 · 1 个 reaction ·
维护者通常 3 天内回复
-
kind/bug triage/needs-triage
难度 2/5 1-3 小时 新手友好度 74/100
cozystack/cozystack#5438 · 1 个 reaction ·
维护者通常 3 天内回复
查看 cozystack/cozystack 的全部 Issue
相似的 Issue
-
internal/core: cleanAttachmentName splits a rune at the 255-byte cap and stores invalid UTF-8可能已有人在做 @pacwestnobody 今天认领。 未关闭go good first issue help wanted
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
TestLaunchGolden spends about 98 seconds on fake-agent exit delays under -race可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
factory:subtask
难度 1/5 1 小时以内 新手友好度 95/100
维护者通常 1 天内回复
-
bug good first issue
难度 2/5 1-3 小时 新手友好度 90/100
NotAFlightRisk/patchcall#11 ·
维护者通常 1 天内回复
-
documentation enhancement good first issue
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复