Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Indicate number of nodes that an NVIDIADriver CR matches

Aperta
#2,980 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@mrhillsman ci sta già lavorando.

Dal 30/9/2026.

  • #2989 di @mrhillsman — aperta

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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
Lingua principale
Go
Stelle
2.9k
Fork
569
Merge medio
1g 10h
PR unite (30g)
78

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di NVIDIA/gpu-operator

Tutte le issue di NVIDIA/gpu-operator

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.