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

NVIDIA / gpu-operator / 28416587058
31%
main: 31%

Build:
Build:
LAST BUILD BRANCH: pull-request/2517
DEFAULT BRANCH: main
Ran 30 Jun 2026 02:45AM UTC
Jobs 1
Files 59
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 Jun 2026 02:40AM UTC coverage: 31.165% (+0.2%) from 31.002%
28416587058

push

github

rajathagasthya
Restart driver pods in place when driver config is unchanged

A patch chart upgrade can change only cosmetic pod-template metadata
(e.g. the helm.sh/chart label) without changing the driver itself. The
upgrade controller keys on the DaemonSet's controller revision hash, so
such a change still evicts running GPU workloads and drains the node --
for no driver benefit.

Register a RestartOnlyPredicate on the upgrade state manager that
compares DRIVER_CONFIG_DIGEST -- a hash of the install-relevant driver
config, already set on the driver pod template -- between the running
pod and the desired DaemonSet. When the digests match, the node is
cordoned and the driver pod restarted in place, with no workload
eviction or drain; the driver fast-path keeps the kernel modules loaded
across the restart, so running GPU workloads are not disrupted.
Cordoning keeps the node unschedulable if the restart fails, and the
node is uncordoned on success. A missing or differing digest falls back
to the full upgrade flow.

The digest env name and a reader for it live in internal/config beside
the digest definition; the restart-only routing decision lives in
internal/predicates and is registered on the upgrade state manager in
main.go. The RestartOnlyPredicate hook it relies on is provided by
k8s-operator-libs, vendored here at the merged version.

Signed-off-by: Rajath Agasthya <ragasthya@nvidia.com>

34 of 39 new or added lines in 4 files covered. (87.18%)

4057 of 13018 relevant lines covered (31.16%)

0.36 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
0.0
0.0% cmd/gpu-operator/main.go
1
60.11
0.0% controllers/object_controls.go
Jobs
ID Job ID Ran Files Coverage
1 28416587058.1 30 Jun 2026 02:45AM UTC 59
31.16
GitHub Action Run
Source Files on build 28416587058
  • Tree
  • List 59
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28416587058
  • d743da54 on github
  • Prev Build on main (#28395654790)
  • Next Build on pull-request/2527 (#28463435362)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc