[Bug]: Helm chart always sets NVIDIADriver spec.manager.image, so a default driver-manager bump reinstalls the driver on every GPU node
Los mantenedores suelen responder en 1 día
@akshat-lakhera ya está trabajando en esto.
Desde el 29/10/2026.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- go, helm, kubernetes
- Área
- devops, infrastructure
Línea de trabajo
Start with internal/state/driver.go and deployments/gpu-operator/templates/nvidiadriver.yaml, then check the driver.manager.image default in values.yaml and how DRIVER_CONFIG_DIGEST uses config.DriverManagerImage. Trace how the rendered manager image triggers the upgrade path, and determine how to avoid a reinstall when only the default manager version changes. Done means a chart upgrade with unchanged driver settings does not reinstall drivers across GPU nodes.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the bug
The Helm chart always sets NVIDIADriver.spec.manager.image, so an operator chart upgrade that only changes the default k8s-driver-manager version reinstalls the driver on every GPU node, even when the driver version and every user setting are unchanged.
internal/state/driver.go handleDefaultImagesInObjects is meant to avoid changing the manager image "when the operator itself is upgraded" while the NVIDIADriver spec is unmodified, but it only applies when cr.Spec.Manager.Image == "". deployments/gpu-operator/templates/nvidiadriver.yaml always renders manager: {{ toYaml .Values.driver.manager }}, and values.yaml sets driver.manager.image: k8s-driver-manager, so every Helm-managed NVIDIADriver picks up the new chart default (v0.12.0 in v26.7.0, v0.12.1 in v26.7.2). Because the manager image is part of DRIVER_CONFIG_DIGEST (config.DriverManagerImage), DriverPodRestartOnly does not apply, and every GPU node goes to upgrade-required and takes the full uninstall/reinstall flow.
In DRA mode this combines with the kubelet-plugin DaemonSet rolling in the same upgrade and deadlocks the first node taken, which NVIDIA/k8s-driver-manager#291 addresses.
To Reproduce
- Install gpu-operator v26.7.0 via the Helm chart with
nvidiaDriverenabled (driver 595.91.07) andupgradePolicy.autoUpgrade: true, leavingdriver.managerat its defaults. helm upgradeto v26.7.2 without changing any driver values.- The NVIDIADriver's
spec.manager.versionchanges from v0.12.0 to v0.12.1 and the driver DaemonSet template changes; every GPU node is labellednvidia.com/gpu-driver-upgrade-state=upgrade-requiredand the upgrade controller cordons and restarts the driver on each node in turn, with the driver version unchanged.
Expected behavior
An operator chart upgrade that leaves the user's driver settings unchanged should not reinstall the driver: for example, do not render manager.image/version into the NVIDIADriver unless the user set them, so handleDefaultImagesInObjects applies, or exclude a default-only manager change from the reinstall path. Workaround: pin driver.manager.version in the Helm values.
Environment (please provide the following information):
- GPU Operator Version: v26.7.0 -> v26.7.2 (Helm)
- OS: Ubuntu 24.04.5
- Kernel Version: 6.17.0-42-generic
- Container Runtime Version: containerd 2.2.1
- Kubernetes Distro and Version: Cluster API on bare metal, Kubernetes v1.37.0, NVIDIA B200, DRA stack (GPUCluster) with
maxParallelUpgrades: 1
- Lenguaje dominante
- Go
- Estrellas
- 2.9k
- Forks
- 587
- Merge medio
- 2 d 8 h
- PR fusionados (30 d)
- 64
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de NVIDIA/gpu-operator
-
feature lifecycle/frozen needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
NVIDIA/gpu-operator#3074 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
[Bug]: GPUCluster common name label breaks DRA validator selectorPosiblemente ocupada @ajavanma la tomó hace 41 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
NVIDIA/gpu-operator#2955 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Bug]: 26.3.3 to 26.7.1 upgrade deletes an existing NVIDIADriver DaemonSet before driver-owner labels are initializedPosiblemente ocupada @rahulait la tomó hace 2 días. Abiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 14/100
NVIDIA/gpu-operator#3155 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
[Bug]: GPUCluster DRA kubelet plugin uses driver root / on Talos and cannot find libnvidia-ml.so.1Posiblemente ocupada @roma5087 la tomó hace 5 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
NVIDIA/gpu-operator#3139 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Bug]: a partially specified NVIDIADriver startupProbe renders zeros instead of operator defaultsPosiblemente ocupada @blacksoxx la tomó hace 6 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 67/100
NVIDIA/gpu-operator#3132 ·
Los mantenedores suelen responder en 1 día
Todos los issues de NVIDIA/gpu-operator
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
Schema validation is skipped when a transaction is invoked with a lowercase first letterPosiblemente ocupada @RaphaelFakhri la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
-
cmd/ebitenmobile: multi-language bindings run the complete generator twicePosiblemente ocupada @kumagi la tomó hoy. Abiertoos:macos performance
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
hajimehoshi/ebiten#4011 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
agent-butler-finding chore
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
jordansmall/spindrift#6318 ·
Los mantenedores suelen responder en 1 día