From a1badbdf5e8d2eb706adf80f37d1747f3e33af01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Jacquin?= <1536771+remyj38@users.noreply.github.com> Date: Tue, 23 Jun 2026 14:16:59 +0200 Subject: [PATCH] doc: Fixing volume promotion with snapshots --- trident-use/vol-volume-replicate.adoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/trident-use/vol-volume-replicate.adoc b/trident-use/vol-volume-replicate.adoc index fe15de27..33c7c663 100644 --- a/trident-use/vol-volume-replicate.adoc +++ b/trident-use/vol-volume-replicate.adoc @@ -214,21 +214,21 @@ During a planned failover (migration), perform the following steps to promote th . On the primary Kubernetes cluster, create a snapshot of the PVC and wait until the snapshot is created. -. On the primary Kubernetes cluster, create the SnapshotInfo CR to obtain internal details. +. On the primary Kubernetes cluster, create the TridentSnapshotInfo CR to obtain internal details. + .Example + [source,yaml] ---- -kind: SnapshotInfo +kind: TridentSnapshotInfo apiVersion: trident.netapp.io/v1 metadata: name: csi-nas spec: - snapshot-name: csi-nas-snapshot + snapshotName: csi-nas-snapshot ---- -. On secondary Kubernetes cluster, update the _spec.state_ field of the _TridentMirrorRelationship_ CR to _promoted_ and _spec.promotedSnapshotHandle_ to be the internalName of the snapshot. +. On secondary Kubernetes cluster, update the _spec.state_ field of the _TridentMirrorRelationship_ CR to _promoted_ and _spec.volumeMappings[].promotedSnapshotHandle_ to be the internalName of the snapshot. . On secondary Kubernetes cluster, confirm the status (status.state field) of TridentMirrorRelationship to promoted. == Restore a mirror relationship after a failover @@ -289,4 +289,4 @@ spec: snapshotHandle: "pvc-1234/snapshot-1234" tridentMirrorRelationshipName: mirror-b ---- -`status.state` reflects the state of the TridentActionMirrorUpdate CRD. It can take a value from _Succeeded_, _In Progress_, or _Failed_. \ No newline at end of file +`status.state` reflects the state of the TridentActionMirrorUpdate CRD. It can take a value from _Succeeded_, _In Progress_, or _Failed_.