Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Indicate number of nodes that an NVIDIADriver CR matches

オープン
#2,980 コメント 2 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@mrhillsman がすでに取り組んでいます。

2026年9月30日 から。

  • #2989 @mrhillsman による — オープン

評価

この issue はまだ評価されていません。

説明

dsx-ws-0930 good-first-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時間
マージ済み PR(30日)
78

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NVIDIA/gpu-operator のほかの issue

NVIDIA/gpu-operator の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。