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

NVIDIA / k8s-operator-libs
65%
main: 63%

Build:
Build:
LAST BUILD BRANCH: pull-request/164
DEFAULT BRANCH: main
Repo Added 09 Jan 2024 11:21AM UTC
Token FQB9I1vDYh7d5xWkpcB0REXSEYE1rsUtp regen
Build 356 Last
Files 20
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/164
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • add-apply-crds
  • add-dependabot
  • bump-kubectl
  • bump-tool-deps
  • bump-xnet
  • chore/adjust_ci_to_map_nvidia-k8s-ipam
  • crdutil-add-single-files
  • dependabot/github_actions/actions/setup-go-5
  • dependabot/go_modules/golang.org/x/net-0.23.0
  • dependabot/go_modules/google.golang.org/protobuf-1.33.0
  • dependabot/go_modules/main/github.com/onsi/ginkgo/v2-2.19.1
  • dependabot/go_modules/main/github.com/onsi/ginkgo/v2-2.20.0
  • dependabot/go_modules/main/github.com/onsi/ginkgo/v2-2.20.1
  • dependabot/go_modules/main/github.com/onsi/ginkgo/v2-2.20.2
  • dependabot/go_modules/main/github.com/onsi/ginkgo/v2-2.21.0
  • dependabot/go_modules/main/github.com/onsi/ginkgo/v2-2.22.0
  • dependabot/go_modules/main/github.com/onsi/gomega-1.33.0
  • dependabot/go_modules/main/github.com/onsi/gomega-1.33.1
  • dependabot/go_modules/main/github.com/onsi/gomega-1.34.0
  • dependabot/go_modules/main/github.com/onsi/gomega-1.34.1
  • dependabot/go_modules/main/github.com/onsi/gomega-1.34.2
  • dependabot/go_modules/main/github.com/onsi/gomega-1.35.0
  • dependabot/go_modules/main/github.com/onsi/gomega-1.35.1
  • dependabot/go_modules/main/github.com/onsi/gomega-1.36.0
  • dependabot/go_modules/main/github.com/onsi/gomega-1.36.1
  • dependabot/go_modules/main/github.com/stretchr/testify-1.10.0
  • dependabot/go_modules/main/github.com/stretchr/testify-1.9.0
  • dependabot/go_modules/main/k8sio-198a6d0bae
  • dependabot/go_modules/main/k8sio-37342b06f2
  • dependabot/go_modules/main/k8sio-5db273b18b
  • dependabot/go_modules/main/k8sio-7f39221a3b
  • dependabot/go_modules/main/k8sio-b1a24d6a84
  • dependabot/go_modules/main/k8sio-e368f94c79
  • dependabot/go_modules/main/k8sio-ee6bb839ca
  • dependabot/go_modules/main/k8sio-f87809c536
  • dependabot/go_modules/main/sigs.k8s.io/controller-runtime-0.17.3
  • dependabot/go_modules/main/sigs.k8s.io/controller-runtime-0.19.0
  • dependabot/go_modules/main/sigs.k8s.io/controller-runtime-0.19.1
  • dependabot/go_modules/main/sigs.k8s.io/controller-runtime-0.19.2
  • dependabot/go_modules/main/sigs.k8s.io/controller-runtime-0.19.3
  • dpdbot-gomod-freq
  • main
  • pr-bump-cr-0.17.0
  • pull-request/100
  • pull-request/101
  • pull-request/102
  • pull-request/103
  • pull-request/104
  • pull-request/105
  • pull-request/107
  • pull-request/110
  • pull-request/115
  • pull-request/120
  • pull-request/121
  • pull-request/122
  • pull-request/123
  • pull-request/124
  • pull-request/126
  • pull-request/127
  • pull-request/128
  • pull-request/129
  • pull-request/130
  • pull-request/131
  • pull-request/132
  • pull-request/134
  • pull-request/136
  • pull-request/137
  • pull-request/138
  • pull-request/139
  • pull-request/145
  • pull-request/153
  • pull-request/156
  • pull-request/158
  • pull-request/159
  • pull-request/160
  • pull-request/161
  • pull-request/164
  • pull-request/166
  • pull-request/167
  • pull-request/169
  • pull-request/170
  • pull-request/171
  • pull-request/58
  • pull-request/59
  • pull-request/70
  • pull-request/71
  • pull-request/72
  • pull-request/73
  • pull-request/74
  • pull-request/75
  • pull-request/76
  • pull-request/77
  • pull-request/78
  • pull-request/79
  • pull-request/80
  • pull-request/81
  • pull-request/82
  • pull-request/83
  • pull-request/84
  • pull-request/85
  • pull-request/86
  • pull-request/89
  • pull-request/90
  • pull-request/91
  • pull-request/92
  • pull-request/93
  • pull-request/94
  • pull-request/95
  • pull-request/96
  • pull-request/97
  • pull-request/99
  • rename-crds-pkg
  • rm-deprec-method
  • upd-rest-deps

02 Dec 2026 10:25PM UTC coverage: 65.306% (+2.1%) from 63.16%
46985585255

push

github

rajathagasthya
Let callers pass the client used by the upgrade state manager

The upgrade state manager creates its own uncached client. Each pass
therefore reads the driver DaemonSets, the driver Pods, and every node
with a driver pod from the API server, also when no upgrade is in
progress. NewClusterUpgradeStateManager and NewCommonUpgradeStateManager
now take the client as a parameter, so that an operator can pass its
manager's client and read these objects from its cache. This changes
both signatures, and a nil client returns an error. To keep the previous
behavior, a caller passes an uncached client created with upgrade.Scheme.
Cache transforms need to preserve Node Spec.Unschedulable and the Ready
condition, which the library reads. After each node patch, the provider
reads the node until it shows the change. A cached read usually returns
the old object first, so this wait now reads every 10 ms instead of every
1 s. A wait that times out returns an error that names the node. The
restart-only check compares the running driver pod with the DaemonSet
template, so it reads the DaemonSet from the API server. A cached
DaemonSet can be older than the ControllerRevision that marked the pod
outdated, and the check then finds no change and skips the drain.

With a cached client, a requestor may not see a NodeMaintenance that
another requestor created. Its Create then returns AlreadyExists, which
the library treated as success, so the requestor was never added to
AdditionalRequestors. createNodeMaintenance now returns an error, so the
next pass adds the requestor to the existing object. A requestor now
reuses a NodeMaintenance that it owns for any name prefix. Before, with a
custom prefix, it called Create again and relied on AlreadyExists. A node
leaves node-maintenance-required only if its requestor owns the
NodeMaintenance or is in AdditionalRequestors. A requestor now releases
the NodeMaintenance before it moves the node to upgrade-done, so that
the next pass retrie... (continued)

45 of 51 new or added lines in 5 files covered. (88.24%)

1568 of 2401 relevant lines covered (65.31%)

0.73 hits per line

Relevant lines Covered
Build:
Build:
2401 RELEVANT LINES 1568 COVERED LINES
0.73 HITS PER LINE
Source Files on main
  • Tree
  • List 20
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
46985585255 pull-request/164 Let callers pass the client used by the upgrade state manager The upgrade state manager creates its own uncached client. Each pass therefore reads the driver DaemonSets, the driver Pods, and every node with a driver pod from the API server, also ... push 02 Dec 2026 10:33PM UTC rajathagasthya github
65.31
46983185202 main Merge pull request #167 from aryangorwade/reduce-operator-log-volume Reduce operator log volume from per-node and per-pod lines push 02 Dec 2026 10:19PM UTC web-flow github
63.16
46718646461 pull-request/171 Check for untolerated taints before driver pod restarts If the library deletes the driver pod on a node with a NoSchedule or NoExecute taint that the driver DaemonSet does not tolerate, the DaemonSet controller does not create a new pod. The node... push 01 Dec 2026 06:50PM UTC rajathagasthya github
64.82
46718402103 pull-request/170 Track nodes without a driver pod instead of failing BuildState BuildState failed every pass when a driver DaemonSet's desiredNumberScheduled differed from its pod count. That stays true for long periods on tainted or NotReady nodes, so no upgrade... push 01 Dec 2026 06:49PM UTC rajathagasthya github
64.0
46576177401 pull-request/170 Track nodes without a driver pod instead of failing BuildState BuildState failed every pass when a driver DaemonSet's desiredNumberScheduled differed from its pod count, which stays true for long periods on tainted or NotReady nodes, so no upgrad... push 01 Dec 2026 04:33AM UTC rajathagasthya github
64.82
46485293866 pull-request/159 Restore prior cordon state after driver upgrades Signed-off-by: Arjun <agadiyar@nvidia.com> push 30 Nov 2026 06:35PM UTC JunAr7112 github
63.94
46478506878 pull-request/159 Switched to new format Signed-off-by: Arjun <agadiyar@nvidia.com> push 30 Nov 2026 05:57PM UTC JunAr7112 github
63.82
46461204054 pull-request/164 Let callers pass the client used by the upgrade state manager The upgrade state manager creates its own uncached client. Each pass therefore reads the driver DaemonSets, the driver Pods, and every node with a driver pod from the API server, also ... push 30 Nov 2026 04:25PM UTC rajathagasthya github
64.88
45716250927 pull-request/164 Let callers pass the client used by the upgrade state manager The upgrade state manager creates its own uncached client. Each pass therefore reads the driver DaemonSets, the driver Pods, and every node with a driver pod from the API server, also ... push 25 Nov 2026 10:50PM UTC rajathagasthya github
64.91
45713105157 pull-request/169 Read each DaemonSet revision hash once per upgrade pass ApplyState listed the driver DaemonSet's ControllerRevisions from the API server for each node it checked, and twice for a synced node in pod-restart-required. With 200 nodes, this was about... push 25 Nov 2026 10:28PM UTC rajathagasthya github
63.5
See All Builds (318)

Badge your Repo: k8s-operator-libs

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