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

NVIDIA / k8s-driver-manager
24%
main: 24%

Build:
Build:
LAST BUILD BRANCH: pull-request/336
DEFAULT BRANCH: main
Repo Added 25 Jun 2025 09:36AM UTC
Token XZJCBg9TTAnxoAadYnqcc5m1o1EgNwco8 regen
Build 612 Last
Files 10
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

LAST BUILD ON BRANCH pull-request/263
branch: pull-request/263
CHANGE BRANCH
x
Reset
Sync Branches
  • pull-request/263
  • copy-pr-bot
  • custom-go-proxy
  • dependabot/docker/deployments/container/nvidia/cuda-13.0.0-base-ubi9
  • dependabot/docker/deployments/container/nvidia/cuda-13.0.1-base-ubi9
  • dependabot/docker/deployments/container/nvidia/distroless/cc-v3.1.12-dev
  • dependabot/docker/deployments/devel/golang-1.24.6
  • dependabot/docker/deployments/devel/golang-1.25.1
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/setup-go-6
  • dependabot/go_modules/main/github.com/NVIDIA/go-nvml-0.13.0-1
  • dependabot/go_modules/main/golang.org/x/sys-0.35.0
  • dependabot/go_modules/main/golang.org/x/sys-0.36.0
  • dependabot/go_modules/main/k8sio-8aef8bcde0
  • dm-go-rewrite
  • fix-broken-ci
  • fix-image-build-2
  • local_devel_image
  • main
  • ngc_pipeline_changes
  • pull-request/102
  • pull-request/103
  • pull-request/104
  • pull-request/107
  • pull-request/108
  • pull-request/109
  • pull-request/110
  • pull-request/112
  • pull-request/113
  • pull-request/114
  • pull-request/115
  • pull-request/116
  • pull-request/117
  • pull-request/120
  • pull-request/121
  • pull-request/122
  • pull-request/125
  • pull-request/126
  • pull-request/127
  • pull-request/128
  • pull-request/129
  • pull-request/131
  • pull-request/132
  • pull-request/133
  • pull-request/134
  • pull-request/135
  • pull-request/136
  • pull-request/137
  • pull-request/139
  • pull-request/140
  • pull-request/141
  • pull-request/142
  • pull-request/143
  • pull-request/146
  • pull-request/148
  • pull-request/149
  • pull-request/150
  • pull-request/152
  • pull-request/153
  • pull-request/155
  • pull-request/156
  • pull-request/159
  • pull-request/163
  • pull-request/164
  • pull-request/166
  • pull-request/167
  • pull-request/168
  • pull-request/169
  • pull-request/170
  • pull-request/171
  • pull-request/172
  • pull-request/173
  • pull-request/174
  • pull-request/175
  • pull-request/176
  • pull-request/177
  • pull-request/178
  • pull-request/180
  • pull-request/181
  • pull-request/182
  • pull-request/183
  • pull-request/184
  • pull-request/185
  • pull-request/186
  • pull-request/187
  • pull-request/188
  • pull-request/189
  • pull-request/193
  • pull-request/194
  • pull-request/195
  • pull-request/196
  • pull-request/197
  • pull-request/198
  • pull-request/199
  • pull-request/200
  • pull-request/201
  • pull-request/202
  • pull-request/203
  • pull-request/204
  • pull-request/205
  • pull-request/210
  • pull-request/211
  • pull-request/214
  • pull-request/215
  • pull-request/217
  • pull-request/218
  • pull-request/219
  • pull-request/220
  • pull-request/221
  • pull-request/222
  • pull-request/223
  • pull-request/225
  • pull-request/226
  • pull-request/227
  • pull-request/228
  • pull-request/229
  • pull-request/230
  • pull-request/231
  • pull-request/232
  • pull-request/233
  • pull-request/234
  • pull-request/235
  • pull-request/236
  • pull-request/237
  • pull-request/238
  • pull-request/239
  • pull-request/241
  • pull-request/244
  • pull-request/245
  • pull-request/246
  • pull-request/247
  • pull-request/248
  • pull-request/249
  • pull-request/252
  • pull-request/254
  • pull-request/255
  • pull-request/256
  • pull-request/258
  • pull-request/259
  • pull-request/260
  • pull-request/264
  • pull-request/265
  • pull-request/266
  • pull-request/267
  • pull-request/272
  • pull-request/275
  • pull-request/282
  • pull-request/283
  • pull-request/285
  • pull-request/286
  • pull-request/288
  • pull-request/290
  • pull-request/291
  • pull-request/292
  • pull-request/293
  • pull-request/294
  • pull-request/296
  • pull-request/297
  • pull-request/298
  • pull-request/300
  • pull-request/302
  • pull-request/303
  • pull-request/307
  • pull-request/309
  • pull-request/311
  • pull-request/312
  • pull-request/313
  • pull-request/314
  • pull-request/315
  • pull-request/316
  • pull-request/319
  • pull-request/320
  • pull-request/322
  • pull-request/323
  • pull-request/327
  • pull-request/332
  • pull-request/333
  • pull-request/336
  • release-0.10
  • release-0.11
  • release-0.12
  • release-0.13
  • release-0.9

09 Nov 2026 07:59PM UTC coverage: 24.026% (+0.1%) from 23.916%
42688582607

Pull #263

github

rajathagasthya
Invalidate status files before rescheduling operands

The operator-validator and driver containers remove the readiness files
under /run/nvidia/validations in their preStop hooks. Those hooks do not
run when the containers are removed outside the kubelet, for example
when a CRI-O minor version upgrade wipes every pod sandbox on the node.
The files survive on the host tmpfs. When k8s-driver-manager then
re-enables the operand labels, the operand pods are recreated together
with the driver pod, before the driver is installed. A stale
toolkit-ready lets an operand init container pass while the kernel
module is unloaded, so the nvidia runtime creates the main container
without the driver libraries. The MIG manager then fails NVML
initialization with ERROR_LIBRARY_NOT_FOUND and leaves the node at
mig.config.state=failed until the pod is deleted.

Remove the files once the previous driver has been torn down, before
the operands are rescheduled: after the stale rootfs is unmounted on the
fast path, and right after the kernel modules are unloaded on the full
path. On the full path the removal comes before the rootfs unmount, so
an unmount failure does not reschedule the operands with stale files
for a driver that is no longer loaded. The validators were deleted by the
eviction before that, so nothing recreates the files in between. Every
failure that can still fall back to the loaded driver, such as a drain
failure or modules in use, happens before the removal, so
cleanupOnFailure re-enables the operands with the files it finds, as it
does today. The paths that do not evict, because no driver is loaded or
because eviction itself failed, leave the files alone: a validator that
is still running would not rewrite them.

The set removed is an explicit list of what the preStop hooks remove:
the readiness files written by the operator validator and the sandbox
validator, plus the driver's .driver-ctr-ready and
.driver-daemons-status. Files not in the list are left ... (continued)
Pull Request #263: Invalidate status files before rescheduling operands

5 of 13 new or added lines in 1 file covered. (38.46%)

413 of 1719 relevant lines covered (24.03%)

0.24 hits per line

Relevant lines Covered
Build:
Build:
1719 RELEVANT LINES 413 COVERED LINES
0.24 HITS PER LINE
Source Files on pull-request/263
  • Tree
  • List 10
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
42688582607 pull-request/263 Invalidate status files before rescheduling operands The operator-validator and driver containers remove the readiness files under /run/nvidia/validations in their preStop hooks. Those hooks do not run when the containers are removed outside the ... Pull #263 09 Nov 2026 08:00PM UTC rajathagasthya github
24.03
42687979882 pull-request/263 Invalidate status files before rescheduling operands The operator-validator and driver containers remove the readiness files under /run/nvidia/validations in their preStop hooks. Those hooks do not run when the containers are removed outside the ... Pull #263 09 Nov 2026 07:56PM UTC rajathagasthya github
24.03
42680495480 pull-request/263 Invalidate status files before rescheduling operands The operator-validator and driver containers remove the readiness files under /run/nvidia/validations in their preStop hooks. Those hooks do not run when the containers are removed outside the ... Pull #263 09 Nov 2026 07:09PM UTC rajathagasthya github
24.05
42673938667 pull-request/263 Invalidate status files before rescheduling operands The operator-validator and driver containers remove the readiness files under /run/nvidia/validations in their preStop hooks. Those hooks do not run when the containers are removed outside the ... Pull #263 09 Nov 2026 06:28PM UTC rajathagasthya github
24.41
35048471221 pull-request/263 Invalidate status files before rescheduling operands The operator-validator and driver containers remove the readiness files under /run/nvidia/validations in their preStop hooks. Those hooks do not run when the containers are removed outside the ... Pull #263 16 Sep 2026 02:34AM UTC rajathagasthya github
11.79
34541594029 pull-request/263 Invalidate status files before rescheduling operands The operator-validator and driver containers remove the readiness files under /run/nvidia/validations in their preStop hooks. Those hooks do not run when the containers are removed outside the ... Pull #263 10 Sep 2026 11:20PM UTC rajathagasthya github
11.81
See All Builds (612)

Badge your Repo: k8s-driver-manager

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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