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

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

Build:
Build:
LAST BUILD BRANCH: pull-request/2517
DEFAULT BRANCH: main
Ran 29 Jun 2026 09:48PM UTC
Jobs 1
Files 58
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

29 Jun 2026 09:37PM UTC coverage: 31.165% (+0.2%) from 31.002%
28404387490

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 (from the
UpgradeReconciler) 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 is a method on
the upgrade controller, registered in SetupWithManager. 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 28404387490.1 29 Jun 2026 09:48PM UTC 58
31.16
GitHub Action Run
Source Files on build 28404387490
  • Tree
  • List 58
  • Changed 4
  • Source Changed 4
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28404387490
  • 9b0cd081 on github
  • Prev Build on main (#28395654790)
  • Next Build on pull-request/2527 (#28416587058)
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