# Changelog Notable changes to Snapshot, in the format of [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). Versions follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html); see [RELEASE.md](RELEASE.md) for how releases are cut and which versions receive security fixes. Entries describe what changed for someone operating Snapshot — new capabilities, behavior changes, and anything requiring action on upgrade. CRD changes and changes to checkpoint or restore semantics are called out explicitly, because they affect checkpoints that already exist. The full commit-level history for each release is on its [GitHub release page](https://github.com/ai-dynamo/snapshot/releases). ## [Unreleased] ### Added - Node cache: with `storage.nodeCache.enabled`, a restore reads a checkpoint copy from a directory on its node's local disk, and reads the snapshot store when the node holds none. An administrator places and removes the copies. Off by default. Deploy the matching agent and PageBroker images together. See [Node Cache](docs/operate/configure-storage.md#node-cache). - Lifecycle hooks: `PodSnapshot.spec.containers` and `SnapshotJob.spec.podSnapshotTemplate.containers` can set a `checkpointReadinessProbe`, which decides when to checkpoint instead of the container's Ready condition, and a `lifecycle.postRestore` action, which notifies the restored application by file or HTTP. A restore succeeds only once its action succeeds. `PodSnapshotContent.spec.containers` keeps the settings for every restore. CRD change: deploy the matching CRDs, operator and node agent together. See [Lifecycle hooks](docs/reference/workload-contract.md#lifecycle-hooks). - S3 stores work without static keys. With `storage.s3.credentialsSecretRef` empty, PageBroker and the operator use the workload identity of their service accounts, and credentials refresh without a restart. Instance metadata is excluded, so the node's role is never used. `operator.serviceAccount.annotations` is new, and `storage.s3.credentialEndpoint` covers platforms that issue credentials from an endpoint in exchange for a service-account token. Nothing changes when a Secret is set. See [Use Workload Identity for S3](docs/operate/configure-storage.md#use-workload-identity-for-s3). - S3 restore tuning accepts `pageBroker.transferEngine.modelStreamer.restoreBatchBytes` to control batch and shared admission bytes. The default remains 10 GB; restart PageBroker after changing it. - `SnapshotJob.spec.nonTargetArtifacts` lets callers declare shared-PVC writers and opt into cleanup after failure; omission or `Retain` preserves output. CRD change: deploy the matching CRD and operator together. - `PodSnapshotContent.status.source` records where a snapshot was taken: the source node's name, architecture, kernel version and the instruction sets its CPU offers, the checkpointed container's image, image digest and CPU and memory limits, and the NVIDIA driver version and GPU models the checkpoint could see. Informational only — restore compatibility still compares the snapshot's manifest. CRD change; populated for snapshots that reach `Ready` after the upgrade, so a content already `Ready` before it is not backfilled. - `config.checkpoint.timeoutSeconds` (default `3600`) fails a checkpoint that outruns it. - Checkpoint retries, off by default. `config.checkpoint.defaultRetryLimit` (default `0`) sets how many times a failed checkpoint is retried beyond the first attempt, and an attempt a retry follows emits a `CheckpointAttemptFailed` event on the source Pod. A `PodSnapshot` sets its own with `spec.checkpointRetryLimit`: unset defers to the cluster default, and an explicit `0` asks for no retry. Neither may exceed 10. CRD change: deploy the matching CRDs, operator and node agent together. See [Checkpoint retries](docs/troubleshooting/checkpoints.md#a-checkpoint-fails-with-retriesexhausted). - Storage shortages on a checkpoint now read distinctly, as `StagingUnavailable`, `ImageTooLarge`, or `StoreExhausted`. See [Storage shortages](docs/troubleshooting/checkpoints.md#a-checkpoint-fails-with-imagetoolarge-stagingunavailable-or-storeexhausted). - A failed CRIU dump records the CRIU version that produced it, which the agent also logs at startup. - S3 connection and transfer settings for `storage.type: s3`: `storage.s3.addressing`, `storage.s3.allowHttp`, a CA bundle (`storage.s3.caBundleConfigMapRef`), `pageBroker.s3.limits` and `pageBroker.transferEngine.modelStreamer`. Changing one restarts PageBroker. An install that sets none of them is unchanged. See [Storage](docs/operate/configure-storage.md#other-backends). - `daemonset.affinity` accepts `nodeAffinity` instead of failing the install. The chart adds the agent's supported architectures to every non-empty required node selector term, so a term such as `example.com/pool DoesNotExist` keeps the agent off those nodes. An install that sets none is unchanged. See [Agent DaemonSet and Access](docs/reference/helm-values.md#agent-daemonset-and-access). - `seccomp.applyToSourcePods=false` stops the operator from adding the block-iouring seccomp profile to a SnapshotJob source Pod. A profile that the `podTemplate` sets itself stays. The default, `true`, is unchanged. On OpenShift the profile needs an SCC that allows it (#1002). See [Install on OpenShift](docs/get-started/installation.md#install-on-openshift). - `snapshotctl checkpoint --apply-seccomp-profile=false` and `snapshotctl restore --apply-seccomp-profile=false` leave the manifest's seccomp settings unchanged. The default, `true`, is unchanged (#1002). See [`snapshotctl` CLI](docs/reference/cli.md#checkpoint). ### Changed - **Breaking:** the agent timeout values lost their redundant prefixes. `config.checkpoint.checkpointTimeoutSeconds` is now `config.checkpoint.timeoutSeconds`, and `config.restore.restoreTimeoutSeconds` is now `config.restore.timeoutSeconds`. Defaults are unchanged, so an install that never set either one needs no action. Rename any value you do set: Helm drops an unknown value silently and would leave you on the default, so the chart refuses to render while an old name is still present. The rendered ConfigMap carries both spellings for this release, so a v0.2.0 agent that restarts before the DaemonSet roll reaches its node still finds the key it reads; the old pair goes away in v0.3.0+. - The user-facing documentation, the CRD field descriptions (`kubectl explain`) and the condition and failure messages follow the naming guide: the phase is a **checkpoint** (the verb) and what it writes is a **snapshot** (the noun). No condition type, reason or label changed, so nothing that matches on those strings needs updating; only the two values above were renamed. - S3 restores prepare up to two batches ahead of downloads by default. Configure `pageBroker.transferEngine.modelStreamer.restorePreparationSlots` in Helm values, or `restorePreparationSlots` in the tuning JSON (1–20, default 3), to bound retained batches per restore. Restart PageBroker after changing it. Shared native admission limits remain unchanged; oversized files run alone. - PageBroker defaults to a 512 MiB S3 read window per client, increased from 128 MiB. Explicit `s3Reader.maxInflightMiB` and `RUNAI_STREAMER_S3_MAX_INFLIGHT_MIB` overrides still take precedence. See [Model Streamer configuration](agent/pagebroker/MODEL_STREAMER.md). - Checkpoint and restore failure messages open with the step they came from, as `while : `, on the pod's `nvidia.com/Restored` condition, the `PodSnapshotContent` `Failed` condition, the restore events and the agent log, which also carries the step as a structured `step` key. Alerts or log filters that match on the previous wrap text need updating. The troubleshooting guide has one entry per step, including the steps inside nsrestore. - Restoring into a container that has an AppArmor profile or SELinux label now requires a snapshot that saved the processes' labels. The checkpoint records whether it did in the manifest, and a restore without that record is refused up front under the new `lsm-labels` check, which the compatibility bypass does not waive. Checkpoints taken by earlier agent versions don't have the record and must be taken again. - A restore onto a node whose CPU lacks an instruction set Snapshot knows the source CPU offered, such as AVX-512 on x86_64 or SVE2 on arm64, is refused up front under the new `cpu-features` check rather than restoring a process that dies with `SIGILL`. A snapshot taken before the upgrade recorded no CPU flags and is not checked. See [Runtime compatibility](docs/reference/workload-contract.md#runtime-compatibility). - The agent drives checkpoints from a workqueue rather than per-checkpoint `coordination.k8s.io` Leases, so the `LeaseCancelled` failure reason no longer occurs and the agent `ClusterRole`'s now-unused `leases` rule is kept for one more release before removal in v0.3.0+. - A checkpoint or restore on a MIG slice is refused up front, under the new `mig-slice` check, because Snapshot supports whole GPUs only. A checkpoint fails before anything is locked, leaving the source process running, with the slice named on the `PodSnapshotContent` `Failed` condition; a restore is refused as incompatible at the inspect gate, and `nvidia.com/snapshot-skip-compat-check` waives it like any other check. Previously nothing named MIG: under DRA, GPU discovery failed with `DRA GPU allocation has no resolvable UUIDs`, and elsewhere a slice was recorded as its parent card. - Restore semantics: Snapshot replaces the command of every restore destination container with its restore proxy, `/snapshot-control/snapshot-restore-proxy`. The proxy is the container's PID 1: it waits for the restore, forwards signals to the restored process, and exits with its exit code, so the container ends when the restored workload does. The node agent sets the command through NRI when the container is created, and fails the restore if the proxy is not PID 1. The proxy needs NRI v0.10 or newer, enabled in the container runtime: containerd 2.2 or newer. On a node without it, the agent restores without the proxy, as before, and restore Pods need an inert command there. Restore Pods on nodes with the proxy keep the source's command, which never runs, and are expected to use `restartPolicy: Never`: a restored container that starts again ends in `CrashLoopBackOff`. The agent mounts the runtime's NRI socket directory, `/var/run/nri`, and the new chart value `daemonset.nriHostNamespace` limits it to one host namespace, for clusters that share nodes, such as vCluster tenants: each installation sets its own. - Restore semantics: a restored process sees a `/proc` of its own PID namespace rather than the restore container's (#593), so lookups by PID, such as UCX shared-memory endpoints (#802), work after a restore. Only checkpoints taken after the upgrade get it; take older ones again. ### Fixed - PageBroker can reach an S3 store that runs in the cluster by its Service name, such as a `storage.s3.endpoint` on `minio.minio.svc`. The agent pod runs on the host network and resolved names through the node, which does not know Service names, while the operator did resolve them. The agent pod now uses cluster DNS, which forwards every other name. - GPU discovery no longer rejects marker-directory `NVIDIA_VISIBLE_DEVICES` values used by the NVIDIA device plugin's `volume-mounts` strategy. See [Checkpoint troubleshooting](docs/troubleshooting/checkpoints.md#inspecting-source-container). - A `SnapshotJob` whose `spec.podTemplate` the API server rejects as invalid, such as a `volumeMounts` entry that names no volume, now fails with `Failed=True` and reason `InvalidSpec`, and the condition message carries the rejected field. It used to keep an empty status and retry without end. Create a new `SnapshotJob` with the template fixed. - A `helm upgrade` that changes only an agent setting, a `config.*` value or `pageBroker.restoreMode`, now restarts the agent pod on each node. The agent reads these settings at startup, so the change used to reach the ConfigMap and no running agent. See [Helm Chart Values](docs/reference/helm-values.md#agent-config-config). - A checkpoint no longer starts on a target container while another checkpoint of that container runs. The node agent could start a second checkpoint of the container when two `PodSnapshot` objects that name it were created in the same second. It could also do so when a `PodSnapshot` was deleted during its checkpoint and another one for that container was pending. Both checkpoints could then fail with `CheckpointFailed`, and no snapshot was stored. - The operator can now create a SnapshotJob's source Job on OpenShift, and on any cluster that enables the `OwnerReferencesPermissionEnforcement` admission plugin. The operator ClusterRole grants `update` on `snapshotjobs/finalizers`, which the plugin requires before the operator can create the source Job (#1002). An install with `rbac.create=false` must add this rule to its own operator ClusterRole. Before, the SnapshotJob kept an empty status and repeated a `SourceJobCreateFailed` event. ### Deprecated - `SNAPSHOT_RESTORE_STANDBY` (`podcontract.RestoreStandbyModeEnv`): restore containers no longer run their own command, so nothing needs to stay inert. Snapshot never injected it. The `DYN_SNAPSHOT_RESTORE_STANDBY` alias is still removed in the next release. ## [0.1.0] - 2026-09-06 First release. Snapshot checkpoints a fully initialized GPU pod — running process, CPU and GPU memory — and restores that state on another compatible node, cutting cold-start time for large inference workloads. ### Added - `PodSnapshot`, `PodSnapshotContent`, and `SnapshotJob` custom resources, and the `restore-from` annotation for programmatic restore. - Cluster operator that reconciles the custom resources, and a node-level agent DaemonSet that drives CRIU and `cuda-checkpoint` against live processes. - `snapshotctl` for lower-level checkpoint and restore from a pod manifest. - Helm chart published as an OCI artifact to GHCR, with CRDs upgraded from an init container so a chart upgrade cannot leave them stale. - Restore Pod contract covering the control volume, startup gate, seccomp profile, and the `SNAPSHOT_CONTROL_DIR` environment variable. - Framework guides with runnable manifests for vLLM, SGLang, and TensorRT-LLM. - Corresponding source and third-party attribution shipped inside both images under `/legal`. ### Known limitations Checkpoint and restore require compatible GPU and driver versions between the source and target node. See [Limitations](docs/overview/limitations.md) for the current boundaries. ## [0.1.0-rc2] - 2026-09-03 Release candidate for 0.1.0. ## [0.1.0-rc.1] - 2026-09-01 Release candidate for 0.1.0. ## [0.1.0-alpha.1] - 2026-08-16 First tagged build, published to validate the release pipeline. [Unreleased]: https://github.com/ai-dynamo/snapshot/compare/v0.1.0...HEAD [0.1.0]: https://github.com/ai-dynamo/snapshot/releases/tag/v0.1.0 [0.1.0-rc2]: https://github.com/ai-dynamo/snapshot/releases/tag/v0.1.0-rc2 [0.1.0-rc.1]: https://github.com/ai-dynamo/snapshot/releases/tag/v0.1.0-rc.1 [0.1.0-alpha.1]: https://github.com/ai-dynamo/snapshot/releases/tag/v0.1.0-alpha.1