Skip to content

operator/v0.21.0

Choose a tag to compare

@github-actions github-actions released this 06 Nov 05:02
· 70 commits to main since this release
operator/v0.21.0
b2ba682

Behavior Changes

  • The nodewright.nvidia.com/last-logs Job annotation is no longer written, and the operator no longer needs pods/log access. 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 in CrashLoopBackOff); package Jobs never produced it, and a failing package attempt keeps its pod and logs. An interrupt Job that ends either way now leaves its erroring state 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: drop pods/log from it.

  • Drain now drains pods in kube-system. Every kube-system pod 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 every spec.drainConfig option like any other workload, matching kubectl drain; mirror/static pods, pods tolerating the unschedulable taint, and (with the default ignoreDaemonSets: true) DaemonSet pods are still skipped. A kube-system pod held by one of the cases below holds the drain until spec.drainConfig.timeout, or indefinitely if no timeout is set, and the NodeWright's DrainBlocked condition names it. Before upgrading, check the kube-system pods 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-system shows ALLOWED DISRUPTIONS of at least 1, adding replicas or loosening minAvailable/maxUnavailable until it does; adding replicas alone does not help a PDB with maxUnavailable: 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. With disableEviction: true, pods are deleted directly and PDBs are not consulted.
    • emptyDir volumes. With the default deleteEmptyDirData: true, the pod is evicted and its emptyDir data is deleted; before this release a disk-backed emptyDir stayed on the node through the interrupt. Move data that must survive to persistent storage. With deleteEmptyDirData: 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. With force: false, the pod holds the drain instead.

    See interrupt-flow.md.

Deprecations

  • The Skyhook → NodeWright migration window now ends in operator v0.22.0, not v0.21.0. The legacy skyhook.nvidia.com API group, the legacy skyhook.nvidia.com=runtime-required taint key and the skyhook_* 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