nvca operator: an invalid NVCFWorkerDegradationPeriodMinutes value blocks all cluster configuration updates
@SelvanayakiGurusamy ya está trabajando en esto.
Desde el 18/11/2026.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 76/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- go, kubernetes
- Área
- backend, infrastructure
Línea de trabajo
Abre src/compute-plane-services/nvca/pkg/operator/reconcile/clustermgmt/ngcclient.go y lee withAgentConfigMapper, luego observa cómo se hizo tolerante NVCAWorkerContainerRestartCountToFailInstance en #3540 y copia ese patrón para NVCFWorkerDegradationPeriodMinutes. Actualiza el caso returns error for invalid worker degradation period en ngcclient_test.go para que compruebe una advertencia más el mapeo exitoso de los demás ajustes. Terminado cuando un valor no numérico ya no produzca un error y claves hermanas como AgentPriorityClassName sigan mapeándose.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
On NGC-managed clusters, the NVCA operator maps the cluster's ClusterConfigurations in withAgentConfigMapper (src/compute-plane-services/nvca/pkg/operator/reconcile/clustermgmt/ngcclient.go). If NVCFWorkerDegradationPeriodMinutes holds a value that is not an integer (for example "abc" or "30min"), the mapper returns failed to parse worker degradation period minutes.
GetCluster then returns no cluster, and ReconcileNVCACluster returns before CreateOrUpdateNVCFBackend. As a result, none of the cluster settings are reconciled, including unrelated ones such as AgentPriorityClassName or the node selector, until the value is corrected. The error repeats on every reconcile.
Requested behavior
An invalid NVCFWorkerDegradationPeriodMinutes value should not block the other cluster settings:
- Log a warning with the cluster ID, configuration key, and rejected value.
- Ignore the override, so the local setting or the NVCA default applies.
- Keep mapping the other settings.
This matches how NVCAWorkerContainerRestartCountToFailInstance is handled since #3540.
Acceptance criteria
- A non-numeric
NVCFWorkerDegradationPeriodMinutesvalue is ignored with a warning, and the mapper returns no error. - Other settings in the same
ClusterConfigurationsare still mapped. - The existing test
returns error for invalid worker degradation periodinngcclient_test.gois updated to cover the new behavior.
Context
Found during review of #3540. This behavior predates that PR, so it was left out of scope there.
- Lenguaje dominante
- Go
- Estrellas
- 251
- Forks
- 100
- Métricas de merge de PR
- Sin PR fusionados en 30 d
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/nvcf
-
cicd needs-triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 91/100
-
documentation needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
observability: make the collector replica count configurablePosiblemente ocupada @sunilthorat09 la tomó hace 2 días. Abiertoinfrastructure
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
documentation needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
documentation needs-triage
Dificultad 1/5 1-3 horas Aptitud para principiantes 90/100
Todos los issues de NVIDIA/nvcf
Issues similares
-
Feature Request: clone buttonAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/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
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
kind/cleanup
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
kubernetes-sigs/kueue#19255 ·
Los mantenedores suelen responder en 1 día