nvca operator: an invalid NVCFWorkerDegradationPeriodMinutes value blocks all cluster configuration updates
@SelvanayakiGurusamy đang làm issue này rồi.
Từ ngày 18/11/2026.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 76/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- go, kubernetes
- Lĩnh vực
- backend, infrastructure
Hướng nghiên cứu
Mở src/compute-plane-services/nvca/pkg/operator/reconcile/clustermgmt/ngcclient.go và đọc withAgentConfigMapper, sau đó xem cách NVCAWorkerContainerRestartCountToFailInstance được làm cho chịu lỗi trong #3540 và sao chép mẫu đó cho NVCFWorkerDegradationPeriodMinutes. Cập nhật trường hợp returns error for invalid worker degradation period trong ngcclient_test.go để nó khẳng định một cảnh báo cùng với việc ánh xạ thành công các cài đặt khác. Hoàn tất khi một giá trị không phải số không còn tạo ra lỗi và các khóa anh em như AgentPriorityClassName vẫn được ánh xạ.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Go
- Star
- 251
- Fork
- 100
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của NVIDIA/nvcf
-
cicd needs-triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 91/100
-
documentation needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
observability: make the collector replica count configurableCó thể đã có người làm @sunilthorat09 đã nhận 2 ngày trước. Đang mởinfrastructure
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
documentation needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
documentation needs-triage
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 90/100
Issue tương tự
-
Feature Request: clone buttonĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
kind/cleanup
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
kubernetes-sigs/kueue#19255 ·
Maintainer thường phản hồi trong vòng 1 ngày