Repository navigation
operator/v0.21.0
Behavior Changes
-
The
nodewright.nvidia.com/last-logsJob annotation is no longer written, and the operator no longer needspods/logaccess. The annotation held a log tail for an interrupt Job ended at its Job-level deadline or at its restart limit (the common case is an interrupt inCrashLoopBackOff); package Jobs never produced it, and a failing package attempt keeps its pod and logs. An interrupt Job that ends either way now leaves itserroringstate and events but no log tail. You will notice this if a script or alert reads that annotation, or if you mirrored the chart's Role into your own RBAC: droppods/logfrom it. -
Drain now drains pods in
kube-system. Everykube-systempod used to be skipped, so CoreDNS, metrics-server, cluster-autoscaler and similar Deployments were still running when the interrupt fired and were killed by the reboot instead of being evicted under their PodDisruptionBudgets. Two CoreDNS replicas on nodes in the same batch meant losing cluster DNS until the nodes came back. They now follow everyspec.drainConfigoption like any other workload, matchingkubectl drain; mirror/static pods, pods tolerating the unschedulable taint, and (with the defaultignoreDaemonSets: true) DaemonSet pods are still skipped. Akube-systempod held by one of the cases below holds the drain untilspec.drainConfig.timeout, or indefinitely if no timeout is set, and the NodeWright'sDrainBlockedcondition names it. Before upgrading, check thekube-systempods on nodes you interrupt:- PodDisruptionBudgets. With eviction enabled (the default), a PDB that allows no disruptions holds the drain, while a workload with no PDB has no limit, so a batch can evict all its replicas at once. Give critical workloads such as CoreDNS a PDB if they have none, and check that
kubectl get pdb -n kube-systemshowsALLOWED DISRUPTIONSof at least 1, adding replicas or looseningminAvailable/maxUnavailableuntil it does; adding replicas alone does not help a PDB withmaxUnavailable: 0. Loosening the PDB of a single-replica workload lets drain evict its only pod, leaving it unavailable until the replacement is ready on another node; before this release it was down for the whole reboot. WithdisableEviction: true, pods are deleted directly and PDBs are not consulted. emptyDirvolumes. With the defaultdeleteEmptyDirData: true, the pod is evicted and itsemptyDirdata is deleted; before this release a disk-backedemptyDirstayed on the node through the interrupt. Move data that must survive to persistent storage. WithdeleteEmptyDirData: false, the pod holds the drain instead.- Pods with no controller. With the default
force: true, the pod is evicted and nothing recreates it; before this release it stayed on the node through the interrupt. Run it under a controller. Withforce: false, the pod holds the drain instead.
See interrupt-flow.md.
- PodDisruptionBudgets. With eviction enabled (the default), a PDB that allows no disruptions holds the drain, while a workload with no PDB has no limit, so a batch can evict all its replicas at once. Give critical workloads such as CoreDNS a PDB if they have none, and check that
Deprecations
- The Skyhook → NodeWright migration window now ends in operator v0.22.0, not v0.21.0. The legacy
skyhook.nvidia.comAPI group, the legacyskyhook.nvidia.com=runtime-requiredtaint key and theskyhook_*metric series all remain supported throughout the v0.21.x line and are removed together in v0.22.0. That gives you four minor lines (v0.18.x, v0.19.x, v0.20.x and v0.21.x) to migrate. Nothing about the migration steps has changed. See docs/getting-started/migration.md.
[operator/v0.21.0] - 2026-11-06
Bug Fixes
- (operator) Only reset complete or erroring nodes on config update by @nko-cpu in #788
- (operator) Check Upsert error when starting interrupt by @maxkaiser11 in #798
- (ci) Route Docker Hub pulls through mirror.gcr.io by @lockwobr in #816
- (operator) Leave kubelet admission rejections out of a package stage's Restarts by @ayuskauskas in #787
- (operator) Propagate dependency graph errors by @efegokdemir in #800
- (operator) Patch NodeWright status in HandleMigrations and HandleFinalizer by @tdnvidia in #853
- (cli) Clear Status.ConfigUpdates on a full nodewright reset by @nko-cpu in #809
- (operator) Isolate reboot bookkeeping failures by @tdnvidia in #854
- (operator) Raise golang.org/x/net to v0.61.0 for GO-2026-6612 by @lockwobr in #911
- (operator) Preserve rebooting nodes in their current batch by @tdnvidia in #870
- (operator) Report image pull failures with a condition by @stolo in #867
- (operator) Keep a package's own interrupt and close the config-update completion gaps by @nko-cpu in #887
- (operator) Cache and grant only the webhook serving-cert Secret by @lockwobr in #944
- (operator) Hold a serial node while an interrupt package waits by @nko-cpu in #943
- (operator) Hold a merged interrupt until every package sharing it reaches its interrupt stage by @ayuskauskas in #949
- (operator) Drain kube-system pods like any other namespace by @lockwobr in #974
- (operator) Stop restarting running package steps on unrelated spec edits by @ayuskauskas in #982
New Features
- (operator) Key the JobReconciler workqueue by node by @stolo in #789
- (chart) Validate runtimeRequiredTaint with a values schema by @lockwobr in #836
- (operator) Add an opt-in pprof endpoint (PPROF_PORT) by @tdnvidia in #795
- (cli) Publish kubectl-nodewright as a signed OCI artifact by @lockwobr in #930
- (operator) Set a soft memory limit from the container memory limit by @lockwobr in #932
- (cli) Publish each CLI platform as a one-layer image so scanners can read it by @lockwobr in #947
Other Tasks
- (deps) Update go module directive to v1.27.2 by @github-actions[bot] in #803
- (deps) Update module sigs.k8s.io/kustomize/kustomize/v5 to v5.8.3 by @github-actions[bot] in #804
- (deps) Update module golang.org/x/sync to v0.24.0 by @github-actions[bot] in #806
- (deps) Update module github.com/prometheus/client_golang to v1.25.0 by @github-actions[bot] in #805
- (deps) Update module github.com/onsi/ginkgo/v2 to v2.33.1 by @github-actions[bot] in #814
- (deps) Update module golang.org/x/mod to v0.42.0 by @github-actions[bot] in #815
- (operator) Regenerate CRDs with controller-gen v0.22.0 by @lockwobr in #837
- (deps) Update module golang.org/x/vuln to v1.9.0 by @github-actions[bot] in #835
- (operator) Cut reconcile-path allocations on large clusters by @tdnvidia in #797
- (deps) Update module github.com/vektra/mockery/v3 to v3.8.1 by @github-actions[bot] in #855
- (deps) Update dependency golangci/golangci-lint to v2.15.0 by @github-actions[bot] in #872
- (deps) Update module sigs.k8s.io/controller-tools to v0.23.0 by @github-actions[bot] in #863
- (deps) Update dependency helm/helm to v4.3.1 by @github-actions[bot] in #862
- (cli) Isolate package command kubeconfig by @efegokdemir in #808
- (deps) Update go module directive to v1.27.3 by @github-actions[bot] in #880
- (deps) Update k8s.io/utils digest to ca04ba5 by @github-actions[bot] in #897
- (deps) Update golang-x by @github-actions[bot] in #913
- (deps) Update module golang.org/x/net to v0.62.0 by @github-actions[bot] in #940
- (deps) Update module github.com/vektra/mockery/v3 to v3.9.0 by @github-actions[bot] in #939
- (deps) Update kubernetes to v0.37.1 by @github-actions[bot] in #915
- Rename skyhook-named files that no open PR touches by @lockwobr in #952
- (deps) Update kubernetes by @github-actions[bot] in #955
- (operator) Avoid namespace scans for node Jobs and Job pods by @tdnvidia in #958
- (operator) Make the duplicate check in Compartment.AddNode constant time by @tdnvidia in #959
- (operator) Remove the last-logs failure snapshot and the pod-log clientset by @stolo in #960
- (operator) Say spec.serial runs one package at a time per node by @nko-cpu in #976
- Rename skyhook_controller.go to nodewright_controller.go by @lockwobr in #985
- (changelog) Cut operator v0.21.0 by @lockwobr in #992