Indicate number of nodes that an NVIDIADriver CR matches
维护者通常 1 天内回复
评估
这个 Issue 还没有评估数据。
描述
NVIDIADriver CR status should show how many nodes it's nodeSelector matches. For example, the below CR matches zero nodes, but one would not know that by looking at it's status.
apiVersion: nvidia.com/v1alpha1
kind: NVIDIADriver
metadata:
name: driver-r595
spec:
default: false
driverType: gpu
image: driver
kernelModuleType: auto
nodeSelector:
nvidia.com/test: "false"
repository: nvcr.io/nvidia
version: 595.91.07
status:
conditions:
- lastTransitionTime: "2026-09-29T13:52:01Z"
message: All resources have been successfully reconciled
reason: Reconciled
status: "True"
type: Ready
- lastTransitionTime: "2026-09-29T13:52:01Z"
message: ""
reason: Ready
status: "False"
type: Error
state: ready
A new status field, like below, can be added to the NVIDIADriver CRD:
// +kubebuilder:printcolumn:name="Nodes",type=integer,JSONPath=`.status.matchedNodeCount`
// MatchedNodeCount is the number of eligible GPU nodes currently assigned
// to this NVIDIADriver.
MatchedNodeCount int32 `json:"matchedNodeCount"`
An example output from kubectl get nvidiadriver would be:
NAME STATUS DEFAULT NODES AGE
h100-driver ready false 0 2m
default ready true 5 1h
- 主要语言
- Go
- 星标
- 2.9k
- 派生
- 569
- 平均合并
- 1 天 10 小时
- 30 天内合并 PR
- 78
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NVIDIA/gpu-operator 的其他 Issue
-
Make NVIDIADriver node-pool rendering deterministic可能已有人在做 @efegokdemir 于 7 天前认领。 未关闭dsx-ws-0930 good-first-issue
难度 2/5 1-3 小时 新手友好度 88/100
NVIDIA/gpu-operator#2981 · 1 条评论 ·
维护者通常 1 天内回复
-
[Bug]: GPUCluster common name label breaks DRA validator selector可能已有人在做 @ajavanma 于 15 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 88/100
NVIDIA/gpu-operator#2955 · 1 条评论 ·
维护者通常 1 天内回复
-
Ensure automated backport commits have verified signatures可能已有人在做 @asivanadi0 于 6 天前认领。 未关闭good-first-issue
难度 4/5 3-5 天 新手友好度 55/100
NVIDIA/gpu-operator#2997 · 1 条评论 ·
维护者通常 1 天内回复
-
[Bug]: Latest Nvidia GPU Operator v26.7.1 reports large numbers of critical and high CVEs in Trivy scan output可能已有人在做 @rahulait 于 7 天前认领。 未关闭more-information-needed needs-triage
NVIDIA/gpu-operator#2991 · 3 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Verify the triggering commit before running other CI jobs可能已有人在做 @Coelho-Gustavo 于 7 天前认领。 未关闭good-first-issue
难度 3/5 1-2 天 新手友好度 78/100
NVIDIA/gpu-operator#2990 ·
维护者通常 1 天内回复
查看 NVIDIA/gpu-operator 的全部 Issue
相似的 Issue
-
agent-research-recommend agent-review-finding chore
难度 2/5 1-3 小时 新手友好度 78/100
jordansmall/spindrift#4821 · 1 条评论 ·
维护者通常 1 天内回复
-
area:web
难度 2/5 1-3 小时 新手友好度 82/100
praetorianer777/GoTome#178 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
oracle/go-oracledb#105 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复