• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Mellanox / network-operator / 46383720036
68%

Build:
DEFAULT BRANCH: master
Ran 30 Nov 2026 08:45AM UTC
Jobs 1
Files 63
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Nov 2026 08:40AM UTC coverage: 65.076% (-0.09%) from 65.161%
46383720036

push

github

web-flow
fix(manifests): sync NicDevice selectableFields (.status.node) (#3777)

### Summary and Operational Benefit

On multi-thousand-node Kubernetes GPU clusters, scoping per-node daemon
informers to local node objects prevents quadratic (`O(N^2)`) watch
fan-out from saturating `kube-apiserver` CPU and network egress during
cluster rollouts and watch reconnects. This PR syncs
`manifests/state-nic-configuration-operator/002-configuration.net.nvidia.com_nicdevices.yaml`
with
[Mellanox/nic-configuration-operator#546](https://github.com/Mellanox/nic-configuration-operator/pull/546)
so `nicdevices.configuration.net.nvidia.com` declares `.status.node`
under `spec.versions[].selectableFields`.

With `.status.node` declared as selectable, `nic-configuration-daemon`
activates node-scoped `NicDevice` watches at startup instead of
receiving HTTP 400 (`field label not supported: status.node`) on its
startup probe and falling back to cluster-wide `NicDevice` caching for
the lifetime of the process. Keeping `.status.node` in the bundled
manifest also ensures Network Operator reconciliation does not strip
`selectableFields` from an already-upgraded `NicDevice` CRD. (Note:
[Mellanox/network-operator#3640](https://github.com/Mellanox/network-operator/pull/3640)
includes this same schema field alongside the OCI firmware feature work,
and this standalone manifest sync merges cleanly with `#3640`.)

### Changes

- Synced
`manifests/state-nic-configuration-operator/002-configuration.net.nvidia.com_nicdevices.yaml`
via `python3 hack/sync-component-crds.py` while preserving the license
header:
  - Added `selectableFields: [{jsonPath: .status.node}]` on `v1alpha1`.
- Updated the `.status.node` property description to match upstream
`config/crd/bases/configuration.net.nvidia.com_nicdevices.yaml`.
- Added a `State.Sync` unit test in
`pkg/state/state_nic_configuration_operator_test.go` verifying that
reconciling `NicClusterPolicy` updates a pre-existing `NicDevice` CRD to
preserve `.... (continued)

5372 of 8255 relevant lines covered (65.08%)

95.45 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
74.63
-1.49% controllers/drain_controller.go
4
86.49
0.45% controllers/nicclusterpolicy_controller.go
4
76.38
-0.76% pkg/state/state_skel.go
Jobs
ID Job ID Ran Files Coverage
1 46383720036.1 30 Nov 2026 08:45AM UTC 63
65.08
GitHub Action Run
Source Files on build 46383720036
  • Tree
  • List 63
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #46383720036
  • 4941cebd on github
  • Prev Build on master (#46368610934)
  • Next Build on master (#46398759962)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc