# Configure Storage Snapshot keeps every snapshot in one snapshot store that all node agents can reach. By default, the store is a snapshot volume, which is a Kubernetes PersistentVolumeClaim (PVC) that supports `ReadWriteMany`. You can use an S3-compatible bucket instead with `storage.type: s3`. Snapshot does not mount the store into workload pods. A non-target artifact writer mounts it itself. The node agent's PageBroker container publishes snapshots to the store and reads them back for restore. See [Architecture Overview](../overview/architecture-overview.md) for what PageBroker does. > [!NOTE] > To choose a storage type and tune it for faster restores, see > [Tune Storage](tune-storage/README.md). It compares NFS (VAST or Amazon EFS), > local NVMe with RAID0, and Amazon S3, and has a setup and tuning page for each. The snapshot store must prevent unauthorized modification of artifacts through filesystem permissions or the storage server's access controls. PageBroker requests owner-only permissions for new GPU files and directories, but does not reject directory modes that allow group or other users to write. Network filesystems such as SMB can report these modes from mount settings rather than per-directory permissions. ## The Snapshot Volume ### PVC Settings With `storage.type: pvc`, the default, the snapshot store is a Kubernetes PersistentVolumeClaim (PVC). Agents on multiple GPU nodes mount it at the same time, so it must support `ReadWriteMany` (RWX). The chart provisions one PVC per cluster by default and mounts it at `/checkpoints` in every agent. The claim is always in the Helm release namespace. For `storage.type: s3`, see [Other Backends](#other-backends). Set the following Helm values to control the PVC. The [Helm Chart Values](../reference/helm-values.md#storage) reference lists all storage values: | Value | Purpose | Default | |----------------------------|-----------------------------------------------------|----------------| | `storage.pvc.create` | Create the PVC (set `false` to use an existing one) | `true` | | `storage.pvc.name` | Shared RWX PVC mounted by every agent | `snapshot-pvc` | | `storage.pvc.size` | Requested size | `1Ti` | | `storage.pvc.storageClass` | Storage class (empty = cluster default) | `""` | | `storage.pvc.basePath` | Mount path inside the agent | `/checkpoints` | ### Use an RWX Storage Class If the cluster has no default storage class that can provision RWX, set one: ```bash helm install snapshot oci://ghcr.io/ai-dynamo/snapshot/snapshot \ --namespace snapshot --create-namespace \ --set storage.pvc.storageClass= ``` ### Use an Existing PVC Point the chart at an existing RWX claim instead of creating one: ```bash helm install snapshot ... \ --set storage.pvc.create=false \ --set storage.pvc.name= ``` The named claim must support `ReadWriteMany`. Access modes are immutable, so a `ReadWriteOnce` claim cannot be converted in place. Create a new RWX claim and, if the existing checkpoints are needed, copy them over once. ### Retention When the chart creates the PVC, `helm uninstall` does not delete it, so the snapshots stay on the volume. To reuse them, install again with `storage.pvc.create=false` and `storage.pvc.name` set to the kept claim (see [Use an Existing PVC](#use-an-existing-pvc)). To free the storage, delete the claim yourself: ```bash kubectl delete pvc snapshot-pvc --namespace snapshot ``` A claim that you created yourself is never deleted by the chart. ## Other Backends The snapshot store is `pvc` by default. To store snapshots in an S3-compatible bucket instead, set `storage.type: s3`. > [!NOTE] > `storage.type` also has an `oci` value that is reserved for future use. It is > not supported today. ### S3 Requirements - The S3 backend ships with the agent and PageBroker images of a Snapshot release newer than v0.2.0. See [S3 Snapshot Store](../get-started/prerequisites.md#s3-snapshot-store) - `storage.type: s3` requires `operator.bindNewContents: true`, because S3 has no legacy local-path checkpoint mode. The chart fails the render without it. See [Enable Artifact Addressing](#enable-artifact-addressing) for the rollout order ### Required S3 Settings With `storage.type: s3`, set these values: - `storage.s3.endpoint` - S3-compatible endpoint - `storage.s3.region` - Bucket region - `storage.s3.bucket` - Bucket that holds the snapshots Credentials come from one of two places: - `storage.s3.credentialsSecretRef` - Secret that holds a credentials file with static keys - No Secret - the workload identity of the Snapshot pods; see [Use Workload Identity for S3](#use-workload-identity-for-s3) See [Helm Chart Values](../reference/helm-values.md#storage) for all S3 values, including the key prefix and the credentials key. ### Optional S3 Settings These settings apply only to `storage.type: s3`. PageBroker, the node agent container that reads and writes the snapshot store, uses them to connect to the bucket and tune transfers. | Value | Effect | Default | |-------|--------|---------| | `storage.s3.addressing` | `path` or `virtual` bucket addressing | PageBroker's `virtual` | | `storage.s3.allowHttp` | Accepts a plain-http endpoint; the chart refuses one otherwise. For local testing only: checkpoint payloads and credentials cross the network unencrypted | `false` | | `storage.s3.caBundleConfigMapRef`, `storage.s3.caBundleConfigMapKey` | CA bundle for the endpoint, used by PageBroker and the operator | system trust | | `pageBroker.s3.limits` | Transfer and transaction limits; keys, defaults and bounds are in the [values reference](../reference/helm-values.md#s3-transfer-limits) | see reference | | `pageBroker.transferEngine.modelStreamer` | Tuning for the engine that reads S3 restores, written as given; keys are in [Model Streamer configuration](../../agent/pagebroker/MODEL_STREAMER.md) | no file | When `pageBroker.s3.limits.stagingBytes` is omitted, the chart fills it from the staging volume cap, so PageBroker refuses a staged restore the volume cannot hold instead of filling it. An explicit `stagingBytes` is not checked against the volume. ### Use Workload Identity for S3 Leave `storage.s3.credentialsSecretRef` empty to reach the bucket without static keys. No Secret is mounted. PageBroker and the operator then resolve credentials through the default credential chain of their S3 clients. Unlike a mounted credentials file, which PageBroker reads once at startup, these credentials are renewed by the chain itself in both components, without a restart. Two identities need access to the bucket, because uploads and restores run in PageBroker and cleanup runs in the operator: | Component | Service account | Annotations value | Access under the store's prefix | |-----------|-----------------|-------------------|---------------------------------| | PageBroker, in the agent pod | The agent's: the release's full name, for example `snapshot`, unless `serviceAccount.name` sets another. With `serviceAccount.create: false` and no name, it is `default` | `serviceAccount.annotations` | Read, write and list | | Operator | The operator's, the agent's default name with `-operator` appended | `operator.serviceAccount.annotations` | List and delete | Bind each to an identity with that access. How the pods get that identity depends on the platform: - **The platform injects it.** Bind both service accounts in the way your platform defines: with an annotation on the service account, or with an association that names the service account and is created on the platform side. Set the annotation values only in the first case. The platform adds the token and its variables to the pods - **A credential endpoint issues it.** Set `storage.s3.credentialEndpoint.url` to the endpoint's `https` URL. The chart then mounts a service-account token into PageBroker and the operator, which present it to the endpoint and renew the credentials before they expire. Also set `storage.s3.credentialEndpoint.tokenAudience` to the audience the endpoint expects; it is required, because a token without an audience is also valid for the Kubernetes API. This cannot be combined with `storage.s3.credentialsSecretRef` Use one of the two. If the platform also injects an identity into these pods, PageBroker and the operator use it and ignore the credential endpoint. The endpoint must implement the container-credentials protocol of the S3 clients: a `GET` request that carries the token as the `Authorization` header, answered with JSON credentials and their expiry. Kubernetes rotates the token before `tokenExpirationSeconds` runs out, so an upload or a restore that outlasts one token keeps working. The chart applies the annotation values only to the service accounts it creates: the agent's with `serviceAccount.create: true`, the operator's with `rbac.create: true`. With either set to `false`, annotate the existing service account directly. The platform injects an identity when a pod is created, and changing an annotation alone does not restart a pod, so after adding or changing one restart the agent DaemonSet and the operator Deployment. Instance metadata is excluded from the chain. A workload identity that does not resolve therefore fails the operation and never falls back to the node's role, which every pod on the node shares. With `storage.s3.caBundleConfigMapRef` set, PageBroker and the operator trust only that bundle, for the store and for the service that issues the credentials. The bundle must therefore also contain the CA of the token or credential service. A credential endpoint behind a private CA works for uploads, restores and cleanup. With `storage.s3.credentialEndpoint.url` set, the chart also mounts the bundle as the system certificate file of the PageBroker container, which restores use for the credential request. That mount does not follow a change to the ConfigMap; restart the agent pods after you replace the bundle. A token service that the platform runs behind a private CA works for uploads and cleanup. Restores cannot reach it yet. To check it, list the variables your platform injected into the PageBroker container, then take a snapshot: ```bash kubectl get pod -n \ -o jsonpath='{range .spec.containers[?(@.name=="pagebroker")].env[*]}{.name}{"\n"}{end}' ``` When credentials do not resolve, a checkpoint fails with a storage error on the `PodSnapshotContent` that ends in `S3 credentials did not resolve`, and a restore fails on the restore pod's `nvidia.com/Restored` condition; see [Find the Message](../troubleshooting/reading-a-failure-message.md#find-the-message). The operator logs the failed cleanup request. An empty `storage.s3.credentialsSecretRef` is not an error for the chart. If a Secret was meant to be set and no identity is bound, the install succeeds and the first checkpoint fails with: ```text PageBroker STORAGE_UNAVAILABLE: S3 checkpoint operation failed: S3 credentials did not resolve ``` Check the PageBroker container's variables with the command above: no `AWS_SHARED_CREDENTIALS_FILE` means no Secret is mounted. ### Change S3 Settings PageBroker reads the S3 settings once at startup, so changing one restarts PageBroker on each node, and it can fail to start briefly until the operator has rewritten its configuration. See [PageBroker Does Not Start After an S3 Settings Change](../troubleshooting/agent.md#pagebroker-does-not-start-after-an-s3-settings-change). After changing the endpoint, bucket, region or prefix, restart the agent DaemonSet once the operator pod is Ready, so PageBroker reads the operator's current configuration. PageBroker does not re-read it while running. ## Node Cache The node cache is a directory on a node's local disk that holds copies of checkpoints. With `storage.nodeCache.enabled: true`, a restore reads a copy found on its node, and reads the snapshot store when the node holds none. With the setting off, which is the default, nothing changes. Snapshot never writes to the node cache. An administrator places and removes the copies with their own tools. A restore from a copy does not read the snapshot store. It therefore also works after the installation is pointed at another store. Remove the copies when that is not wanted. The sections below describe how to place, check and remove copies of a checkpoint on a node. Place the copy before the workloads that restore from that checkpoint are scheduled to the node. A copy can also be added while such workloads are running. In that case it must appear in the node cache in a single step, by a rename of a complete directory, as [Place a Copy](#place-a-copy) describes. A restore that starts while the copy is still being written then reads the snapshot store, and never a partial copy. The examples use `/mnt/nvme/snapshot-cache` as the directory. ### Prepare the Nodes Set these Helm values when you install or [upgrade](upgrade.md) Snapshot. They apply to both `pvc` and `s3` stores: ```yaml storage: nodeCache: enabled: true path: /mnt/nvme/snapshot-cache createIfMissing: true ``` The default path is `/var/lib/snapshot/cache`. The same path is used on every node that runs the agent. Any local filesystem that supports direct I/O works, as for the snapshot store. With `createIfMissing: true`, the default, a node that does not have the directory gets an empty one, and restores on that node read the snapshot store. With `createIfMissing: false`, Snapshot does not create the directory. Create it yourself on every node that runs the agent, before you install or upgrade. On a node without the directory, the agent Pod does not start. It stays in `ContainerCreating` with a `FailedMount` event, and that node runs no checkpoints or restores until you create the directory. A directory that Snapshot created is on the node's root disk, unless a disk is mounted at that path. Check on each node that the directory is on the intended disk before you place copies: ```bash df -h /mnt/nvme/snapshot-cache ``` If you mount a disk at the path after the agent Pod started, restart the agent Pod on that node. The Pod otherwise keeps the directory it started with: ```bash kubectl delete pod --namespace \ --selector app.kubernetes.io/component=snapshot-agent \ --field-selector spec.nodeName= ``` ### Place a Copy A copy lives at `/artifacts//containers//`. `` is the UID of the snapshot's `PodSnapshotContent`, and `` is the name of the checkpointed container. The directory holds the same files as the checkpoint in the store, including `manifest.yaml`. Find the UID of a snapshot with these commands: ```bash content=$(kubectl get podsnapshot --namespace \ --output jsonpath='{.status.boundSnapshotContentName}') kubectl get podsnapshotcontent "$content" --output jsonpath='{.metadata.uid}' ``` The agent treats an existing directory as complete. Build the copy beside `artifacts/` on the same filesystem, then rename it into place. `` is the directory of the snapshot store, such as the mounted snapshot volume: ```bash cd /mnt/nvme/snapshot-cache && cp -a /artifacts//containers/ \ .incoming-- && mkdir -p artifacts//containers && mv -T .incoming-- artifacts//containers/ ``` `mv -T` fails when a non-empty copy is already there. Remove the existing copy first, as in [Remove a Copy](#remove-a-copy). After a failed `cp`, remove the `.incoming-` directory before you copy again. Keep the file modes and owners of the checkpoint, as `cp -a` does. A copy must be a directory, not a symbolic link, and its manifest must name the same snapshot and container. Otherwise the restore reads the snapshot store. Snapshot checks only the manifest of a copy, not its files. A restore from a damaged or partial copy fails; it does not fall back to the snapshot store. ### Fill Nodes from the Snapshot Volume With `storage.type: pvc`, the checkpoint in the snapshot volume is already a directory with this layout. Run the commands in [Place a Copy](#place-a-copy) on each node to fill, with the snapshot volume as ``. For example, run them in a Pod on the node that mounts the snapshot volume's claim and the node cache directory. The claim is in the Helm release namespace. ### Fill Nodes from an S3 Store With `storage.type: s3`, a checkpoint is stored under `/artifacts//containers//` in the bucket. Its files are the objects below `data/`. Objects carry no file modes and no empty directories, so `index.json` beside `data/` records both, and it lists empty files that have no object. Build the copy from the objects and the index with a script. Save the following script on the node, set the five values at its top, and run it as root. It needs `jq` and the AWS CLI, with credentials that can read the bucket. The script stops at the first failed command, and it places the copy only after every file has the size that the index records. A failed download therefore never leaves a copy in place. The script assumes file names without a newline, and it does not check objects under `data/` that the index does not list. ```bash #!/usr/bin/env bash set -euo pipefail # The bucket with the key prefix of the store, or only the bucket if the # store has no prefix. store=s3:/// snapshot_uid= container= cache=/mnt/nvme/snapshot-cache aws=(aws) # For a store that is not Amazon S3: (aws --endpoint-url ) src="$store/artifacts/$snapshot_uid/containers/$container" copy="$cache/artifacts/$snapshot_uid/containers/$container" tmp="$cache/.incoming-$snapshot_uid-$container" index="$tmp.index.json" mkdir "$tmp" "${aws[@]}" s3 cp "$src/index.json" "$index" "${aws[@]}" s3 sync "$src/data/" "$tmp/" # Directories, including empty ones, with their modes. jq -r '.directories[] | "\(.mode) \(.path)"' "$index" | while read -r mode path; do mkdir -p "$tmp/$path" chmod "$(printf '%o' "$mode")" "$tmp/$path" done # Files. An empty file has no object, so create it. Every other file must # have been downloaded in full. jq -r '.files[] | "\(.mode) \(.size) \(.path)"' "$index" | while read -r mode size path; do file="$tmp/$path" if [ "$size" -eq 0 ] && [ ! -e "$file" ]; then : > "$file" fi if [ ! -f "$file" ] || [ "$(stat -c %s "$file")" -ne "$size" ]; then echo "incomplete download: $path" >&2 exit 1 fi chmod "$(printf '%o' "$mode")" "$file" done chmod "$(printf '%o' "$(jq -r .rootMode "$index")")" "$tmp" rm "$index" mkdir -p "$(dirname "$copy")" mv -T "$tmp" "$copy" ``` The modes in the index are decimal numbers, which `printf` converts to the octal form that `chmod` takes. After a failed run, remove the `.incoming-` directory and its `.index.json` file before you run the script again. ### Check Which Source a Restore Used With the node cache enabled, each restore Pod gets a `RestoreSourceSelected` event. It says which source the restore reads. Read it with this command: ```bash kubectl get events --namespace \ --field-selector \ involvedObject.name=,reason=RestoreSourceSelected ``` The message is `Restoring from the node cache`, or `Restoring from the snapshot store:` followed by one of these reasons: - `this node holds no copy` - `the copy on this node could not be read` - `the copy on this node has no readable manifest` - `the copy on this node belongs to another checkpoint` ### Remove a Copy Snapshot does not remove a copy, including when its snapshot is deleted. Remove a copy in two steps. First rename it out of `artifacts/`, so that new restores read the snapshot store. The rename covers every container of that snapshot: ```bash cd /mnt/nvme/snapshot-cache && mv artifacts/ .removing- ``` Then wait for restores on the node to finish, and remove it: ```bash rm -rf /mnt/nvme/snapshot-cache/.removing- ``` A restore that selected the copy just before the rename can still fail. Snapshot does not limit the size of the directory, so remove copies that are no longer needed. ### Restrict Access A copy determines the state of the restored process, and it contains process memory that can hold secrets. Restrict read and write access to the directory as you restrict the snapshot store. ## PageBroker Staging ### How Staging Works Every agent pod also runs a PageBroker sidecar, from its own image at the agent's tag, which owns the movement of checkpoint data between the PVC and the node. Both containers mount the same PVC at `/checkpoints`, so artifacts land in the same place regardless of which container wrote them. PageBroker handles every capture and restore. GPU capture uses CustomStorage when the driver supports it, otherwise it uses the driver-managed format. Restore follows the saved artifact format. Filesystem checkpoint and restore use POSIX. PageBroker runs as privileged root so its GPU engine can operate on workload CUDA processes and device mappings, and it can write artifacts on the shared PVC. PageBroker adds one memory-backed volume per agent pod, shared by the agent and the sidecar: - **Checkpoint.** By default, CRIU dumps the image into a staging directory on that volume. When the dump succeeds, PageBroker publishes it to the PVC: it renames any previous artifact for the same snapshot aside, then renames the new one into place. The destination path is briefly absent between those two renames. A failed dump is aborted and never touches the PVC. A GPU CustomStorage checkpoint instead writes directly to a temporary directory beside the destination on the PVC; a failed one removes that temporary directory without promoting it, so it still never publishes a completed snapshot, but it does touch the PVC along the way. - **Restore.** By default (`pageBroker.restoreMode: direct`), CRIU restores directly from the artifact already on the PVC; nothing is copied into staging. Setting `pageBroker.restoreMode: staged` has PageBroker copy the artifact into staging first, and CRIU restores from memory instead. A copy in the [node cache](#node-cache) is always read in place. For every other restore, `pageBroker.restoreMode` selects the restore source: - `direct` (default) prepares a PageBroker transaction and mounts the original snapshot directory read-only for CRIU. It does not copy CPU images into staging. - `staged` copies snapshot files into PageBroker staging before CRIU runs. When testing a build, set `image.agent.tag` for both the agent and PageBroker, and verify the running containers' image digests. A separate `image.pageBroker.tag` is rejected because the two images share an internal protocol and ship as a pair. ### Size the Staging Volume The staging volume is RAM, so size the agent pod for it: | Value | Purpose | Default | |---------------------------------------|--------------------------------------------------------------------------------------------------|--------------| | `pageBroker.staging.sizeLimit` | Cap on the RAM-backed staging volume shared by checkpoint and staged restore; unbounded without it | `56Gi` | | `daemonset.resources.limits.memory` | Bounds the largest CRIU image, since CRIU writes staging from the agent container | `64Gi` | | `pageBroker.resources.limits.memory` | Bounds staged-restore prefetch, since PageBroker fills staging only in staged restore mode | `256Gi` | | `pageBroker.resources.requests` | GPU transfer buffers and process memory; added to the agent's requests when scheduling | 8 CPU / 32Gi | To checkpoint workloads whose CPU memory exceeds the defaults, raise the staging cap and the agent memory limit together, leaving headroom above the cap for agent process memory. For example, a 200Gi staging budget with 24Gi of headroom: ```bash helm upgrade snapshot ... \ --set daemonset.resources.limits.memory=224Gi \ --set pageBroker.staging.sizeLimit=200Gi ``` Leave `pageBroker.resources.limits.memory` at its chart default (`256Gi`) here: PageBroker needs headroom above the staging cap too, on top of the default GPU transfer buffers (4 GiB per visible GPU, `32Gi` on an eight-GPU node by default). The chart default already covers both; raise it further only if your node has more GPUs or a larger `pageBroker.stagingBytesPerGPU`. Each agent pod requests 10 CPU and 33Gi of memory in total by default, including the GPU engine transfer buffers. Nodes must have that allocatable capacity. Limits are not checked at scheduling time. ### Why the Staging Volume Needs a Cap Staging is an `emptyDir` with `medium: Memory`: a tmpfs living in the node's RAM, where a snapshot is written before it is committed to the snapshot store, and where it is prefetched before CRIU restores from it. It is not accounted like a disk. A memory-backed `emptyDir` has no size of its own, so **without a `sizeLimit` it grows until the node runs out of memory**, and its pages are charged to the cgroup of whichever container wrote them, not to the volume and not to the pod as a whole. Two containers write it, each against its own limit: | Writer | When | Charged to | |---|---|---| | agent | checkpoint (CRIU writes the image) | `daemonset.resources.limits.memory` | | PageBroker | staged restore (prefetching the artifact) | `pageBroker.resources.limits.memory` | One oversized request is enough to exceed a container's limit, and the kernel OOM-kills **that container**, not the request. The agent or PageBroker restarts, and every other checkpoint and restore in flight on that node dies with it, including other tenants'. A single workload too large to stage therefore takes checkpointing and restore off the whole node rather than failing its own request. A `sizeLimit` converts that into an ordinary failure. The tmpfs fills before the cgroup does, the write fails with `ENOSPC`, and the request fails while the node keeps serving everything else. ### How the Cap Is Chosen The limit has to leave room rather than merely match: the volume's pages and the writing container's own allocations share one cgroup, so a cap equal to the container limit lets the two together reach it while the volume is still under its cap. **The chart enforces this.** A `sizeLimit` that does not leave room is lowered to one that does: the **smaller** of the two writers' memory limits, less a reserve of 8Gi or an eighth of a smaller limit. The smaller limit is what matters because either container can be the one that fills the volume. Nothing is rejected: a chart that refuses to render would break installs that work today, so the cap is made safe instead. The defaults already fit, so a release on chart defaults renders `56Gi` unchanged, as does any configuration that leaves its own headroom. A lowered cap appears in the rendered manifest as a byte count, which is where to look if a checkpoint fails with less staging than expected. Configurations the chart lowers, all of which could otherwise OOM-kill a container: - `sizeLimit` at or above either writer's memory limit. - Either memory limit lowered without lowering the cap with it, including small test clusters that only set the limits. To keep a specific staging size, raise **both** writers' memory limits above it rather than raising the cap alone. The cap follows whichever is smaller. The staging-space check (`INSUFFICIENT_STORAGE`) only rejects a transfer that would exceed `sizeLimit`; it does not guarantee protection from an OOM kill, and it has no way to know the size of a snapshot before CRIU writes it. The headroom above is what makes an oversized snapshot fail the checkpoint instead of the agent. Leaving `sizeLimit` missing, null, or empty falls back to the chart's `56Gi` default, not the node's allocatable memory. ### Upgrade from a Chart Without PageBroker When upgrading from a chart that shipped without PageBroker, do not use `helm upgrade --reuse-values`: it keeps the previous chart's defaults, including the old 4Gi agent memory limit. Use `--reset-then-reuse-values` instead, which resets to the new chart's defaults but still carries forward any value you explicitly overrode before, including an old memory limit or staging size, if you had set one. Review `daemonset.resources.limits.memory`, `pageBroker.resources.limits.memory`, and `pageBroker.staging.sizeLimit` together after upgrading, or pass all three explicitly. ## Store Identity and Artifact Addressing Snapshot ties each snapshot to the store it was written to. Every restore from the snapshot store and every delete checks this link first, so a snapshot cannot be read or deleted through a different store, for example after the installation is pointed at another bucket. This is called artifact addressing. It is off by default, and `storage.type: s3` requires it. - **Artifact:** the stored data of one checkpointed container - **Content:** the `PodSnapshotContent` object that records one snapshot - **Bound:** content that records the ID of its store - **Store ID:** the identity of the store, built from its settings ### Enable Artifact Addressing The operator Deployment and agent DaemonSet roll independently. Keep new content unbound while upgrading agents: an older agent cannot record a bound publication descriptor. Use two Helm upgrades when enabling this contract on an existing installation: 1. Select matching agent/operator/PageBroker images that implement the artifact contract, including the PageBroker PVC backend. Set `pageBroker.artifactAddressing=true` and keep `operator.bindNewContents=false`. This configures compatible brokers while allowing legacy snapshots throughout the rollout. Wait for the agent DaemonSet rollout to complete on every node before continuing. 2. Set `operator.bindNewContents=true`, keeping `pageBroker.artifactAddressing=true`. This changes only what the operator binds; it does not roll the agents again. New contents now record the configured store and require publication descriptors. Both settings default to `false`, so the chart adds no artifact-backend arguments until explicitly enabled. Agent and PageBroker images must still match. A fresh installation with compatible images may enable both settings together, provided no checkpoints are submitted until all agents are ready. Existing unbound contents remain readable through the legacy path. Once bound content exists, keep a compatible broker with artifact addressing enabled for its reads and restores. Turning off `operator.bindNewContents` stops new bound snapshots while preserving support for existing ones; it does not convert their storage format or permit downgrading the agents to a legacy build. ### Store Identity The chart resolves the `storage.*` values into `storage.yaml` in the existing configuration ConfigMap, mounted at `/etc/snapshot/storage.yaml` in PageBroker and the operator manager. The file carries one backend block and that populated block selects the backend; Helm's `storage.type` only chooses which block to render. The agent receives only its existing `config.yaml`; its configuration has no PVC identity block. Provisioning settings (`create`, `size`, `storageClass`) do not identify the artifact store. The PVC store ID hashes the backend, claim namespace/name and normalized path inside the claim. The current installation uses the entire claim, so that path is `/`, independent of the container-local `/checkpoints` mount. Neither a caller-supplied store ID nor an additional PVC namespace setting is required. `storage.pvc.basePath` retains its existing mount-path meaning. For S3, the store ID hashes the backend, endpoint, region, bucket and prefix. Credentials, bucket addressing and the CA bundle are not part of it, so changing them does not change the ID. The operator validates this resolved identity at startup and uses it to check artifact cleanup against each content's recorded store. New snapshots use the legacy filesystem flow by default. Artifact addressing requires a compatible PageBroker image and the separate activation steps in [Enable Artifact Addressing](#enable-artifact-addressing); see [Other Backends](#other-backends) for `storage.type: s3`. ### How PageBroker Addresses Artifacts With `pageBroker.artifactAddressing=true`, the sidecar receives the resolved store configuration (`--storage-config /etc/snapshot/storage.yaml`) and derives the store identity from it at startup. Checkpoints bound to that store are addressed by identity rather than by path: the agent names the store, the content UID and the container, and PageBroker publishes the image at `artifacts//containers//`, the same layout as before, with a `publication.json` next to `manifest.yaml` recording the store ID, the artifact handle and the deterministic commit ID. Commit returns that handle as the publication descriptor; restores and metadata reads name the descriptor, and PageBroker refuses a descriptor from another store (`STORE_MISMATCH`), a publication that is missing (`ARTIFACT_NOT_FOUND`) or whose evidence does not match (`ARTIFACT_CORRUPT`). A transaction that outlives PageBroker's fixed 2h5m lifetime fails Commit with `TRANSACTION_EXPIRED`. PageBroker begins expiry cleanup, but active GPU work or a filesystem cleanup error can defer removal until a later sweep. Legacy path-addressed requests are unchanged, and content without a store binding keeps using them. ## Diagnose Slow GPU Restores Use [Troubleshoot Slow Restores](../troubleshooting/slow-restores.md) to interpret phase times, check storage throughput, and compare repeated restores.