Skip to content

operator/v0.22.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 23:35
· 8 commits to main since this release
operator/v0.22.0
0d54a04

Upgrade Notes

  • Dependency cycles are now rejected on create and package edits. Check
    existing NodeWrights and legacy Skyhooks (kubectl get skyhooks.skyhook.nvidia.com)
    for cycles before upgrading. Existing cyclic NodeWrights report the canonical-only
    DependencyGraphInvalid condition when reconciliation reaches condition refresh
    and do not schedule packages. Updates with semantically unchanged spec.packages
    tolerate only the cycle error, allowing metadata/finalizer updates and
    otherwise-valid nonpackage edits; all other validation and policy checks remain.
    Creates and package edits that leave a cycle are rejected. Repair dependsOn
    into a valid DAG with webhooks enabled.

    A cyclic legacy Skyhook may never produce a NodeWright: mirror creation fails
    admission with creating mirrored NodeWright in operator logs, so no new
    resource or condition exists. Its legacy spec is frozen. Follow the
    recovery procedure
    to convert its manifest's API version/kind and create a corrected same-name
    NodeWright, preserving selectors, package identity, and other settings while
    removing server-owned metadata, finalizers, status, and mirror ownership stamps.
    The mirror backs off from the unstamped target rather than overwriting it.
    Do not edit the legacy spec or disable webhooks. Do not use Helm
    uninstall/reinstall: the pre-delete hook deletes all NodeWrights. A cycle still
    blocks pending uninstalls; deletion without graph repair can finish only when
    no uninstall-enabled packages remain tracked in node state.

  • Deleting a runtime-required NodeWright now removes its taint, but taints left by earlier deletions stay. When a NodeWright with runtimeRequired: true is deleted, the operator now removes the runtime-required taint from every node it selected that no other runtime-required NodeWright still selects. That is nodewright.nvidia.com=runtime-required:NoSchedule by default, plus the legacy skyhook.nvidia.com key. Before this release the taint stayed, and kept workloads off the node for good. The upgrade does not remove taints left by NodeWrights deleted under v0.21.0 or earlier, because nothing selects those nodes any more. After upgrading, list the nodes that still carry the taint with kubectl get nodes -o json | jq -r '.items[] | select(any(.spec.taints[]?; .value == "runtime-required")) | .metadata.name'. Remove it from any node that no runtime-required NodeWright selects with kubectl taint node <node> nodewright.nvidia.com=runtime-required:NoSchedule-, and the same with skyhook.nvidia.com for the legacy key. See runtime-required.md.

Behavior Changes

  • A package version bump now rolls out within the interruption budget or DeploymentPolicy, so nodes read waiting right after a bump. A bump used to move every selected node to in_progress at once, ignoring interruptionBudget and the policy's batches, so every node could be cordoned and interrupted together. Nodes that are not already in progress now read waiting, both on status_<name> and in the Ready message (0/N nodes complete, N waiting (…)), and are admitted batch by batch. With a DeploymentPolicy whose resetBatchStateOnCompletion is true (the default), the batch state resets once per bump. You will notice this if a dashboard or alert takes in_progress to mean that a bump has started, or takes waiting to mean a stuck rollout. A bump whose package fails can now stall under a DeploymentPolicy; see Known Issues.

  • The full node lists behind a truncated condition message are logged only at debug level, and only when the condition changes. A condition message that would name more than 10 nodes ends with (list truncated; see controller logs). The full list used to be logged at info on every reconcile. It is now logged at debug level, on the reconcile where the condition changes. This applies to Ready, DrainBlocked, TaintNotTolerable, NodesIgnored, ImagePullFailed and NonInterruptPodsRunning. With the chart's default logLevel: info, these lists are not logged at all. You will notice this if you read those lists from the controller logs. Set controllerManager.manager.env.logLevel: debug, or read the per-node view in .status.nodeStatus. See operator-status.md.

Deprecations

  • The Skyhook → NodeWright migration window now ends in operator v0.23.0, not v0.22.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.22.x line and are removed together in v0.23.0. That gives you five minor lines (v0.18.x through v0.22.x) to migrate. Nothing about the migration steps has changed. See docs/getting-started/migration.md.

New Features

  • Node-level status and bootstrap labels. A node now carries nodewright.nvidia.com/status when at least one NodeWright that is not disabled selects it: its Status across those NodeWrights. A node that only disabled NodeWrights select carries no status label. A node gets nodewright.nvidia.com/bootstrapped=true with a nodewright.nvidia.com/bootstrappedAt timestamp the first time that Status is complete. The operator never removes or rewrites the bootstrapped keys, so you can gate node adoption on them instead of on a final no-op NodeWright or on every status_<name> label. See Node-level signals.

Known Issues

  • A failing rollout under a DeploymentPolicy can stall instead of stopping (#890). When the nodes that failed take every slot in their batch, as with initialBatch: 1 or a one-node budget, they keep those slots and no new batch starts. The failed batch is counted once, so a failureThreshold above 1 is never reached. The remaining nodes stay waiting, and the NodeWright reads unknown. This predates this release, but because a version bump now goes through the policy, a bump whose package fails can reach it too; before, every node failed together. See deployment-policy.md.

  • Resuming a paused, disabled or blocked node turns erroring into waiting (#1063). A node whose package failed for good reads waiting after resume, enable, or the removal of a blocking taint or ignore label, while its nodeState_<name> entry still reads erroring. A DeploymentPolicy then no longer counts that failure. Before this release, a node whose interrupt Job was stuck at FailureTarget was re-marked erroring on every Job event, which hid this for that case. That re-marking was itself a bug, and it is fixed here. Check kubectl nodewright package status before treating such a node as healthy.

[operator/v0.22.0] - 2026-11-25

Bug Fixes

  • (notices) Stop stamping release tags into the notices by @lockwobr in #1006
  • (operator) Log a failed in-flight Restarts write instead of returning early by @nko-cpu in #977
  • (operator) Clear an unreadable drainBlocked record on a timed-out drain by @ManasBhole in #1057
  • (operator) Replace stale or unreadable drain blockers by @atishay-kasliwal in #1067
  • (operator) Reject cyclic package dependencies by @goutamadwant in #1013
  • (operator) Stop a stale FailureTarget from re-marking the node erroring by @nko-cpu in #1052
  • (operator) Keep the kustomize Role's webhook Secret name in sync with WEBHOOK_SECRET_NAME by @atishay-kasliwal in #1047
  • (operator) Ignore an interrupt container's record from a replaced sandbox by @stolo in #1069
  • (operator) Stop a merged interrupt leaking services to other nodes by @0z5a
  • (operator) Remove the runtime-required taint on NodeWright deletion by @ManasBhole in #1073
  • (operator) Log truncated node lists at V(1), only when the condition changes by @nko-cpu in #1081
  • (operator) Keep nodes waiting on a higher priority out of later batches by @nko-cpu in #1082
  • (operator) Keep a version bump within the interruption budget by @atishay-kasliwal in #1048

New Features

  • (operator) Label nodes with their NodeWright status and bootstrap by @ManasBhole in #1074
  • (chart) Add an opt-in package policy by @lockwobr in #1066

Other Tasks

  • (changelog) Cut operator v0.21.0 by @lockwobr in #991
  • (deps) Update module github.com/onsi/ginkgo/v2 to v2.34.0 by @github-actions[bot] in #994
  • (deps) Update module github.com/mikefarah/yq/v4 to v4.54.2 by @github-actions[bot] in #1014
  • (deps) Update module github.com/spf13/pflag to v1.1.0 by @github-actions[bot] in #1018
  • (operator) Share one options helper in node_state_merge_test.go by @WilliamK112 in #1020
  • (operator) Assert setJobPackage stamps the Job and its pod template by @WilliamK112 in #1019
  • (operator) Cover JobReconcile's terminating-Job guard directly by @WilliamK112 in #1021
  • (deps) Update golang-x by @github-actions[bot] in #1017
  • (deps) Update module github.com/mikefarah/yq/v4 to v4.54.3 by @github-actions[bot] in #1023
  • (deps) Update module github.com/vektra/mockery/v3 to v3.9.1 by @github-actions[bot] in #1033
  • (deps) Update go module directive to v1.27.4 by @github-actions[bot] in #1032
  • (deps) Update golang-x by @github-actions[bot] in #1034
  • (deps) Update dependency helm/helm to v4.3.2 by @github-actions[bot] in #1049
  • (deps) Update opentelemetry by @github-actions[bot] in #1045
  • (operator) Tighten image-pull ordering coverage by @WilliamK112 in #1035
  • (operator) Drop the unused pause image and lock down the done container by @lockwobr in #1062
  • (deps) Update module golang.org/x/vuln to v1.10.0 by @github-actions[bot] in #1078
  • (deps) Update kubernetes by @github-actions[bot] in #1053
  • (deps) Update golang-x by @github-actions[bot] in #1077
  • (deps) Update module go.opentelemetry.io/auto/sdk to v1.2.2 by @github-actions[bot] in #1080
  • (changelog) Cut operator v0.22.0 by @lockwobr in #1095

Contributors

Thanks to everyone whose work landed in this release: