Skip to content

Commit 1925663

Browse files
authored
Merge pull request #100965 from tedaveryredhat/OSDOCS-11954
OSDOCS-11954:Update storage migration chapter
2 parents 18f6f6d + 8ebad51 commit 1925663

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

_topic_maps/_topic_map_ms.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ Topics:
112112
File: microshift-update-rhel-edge-to-image-mode
113113
- Name: Listing update package contents
114114
File: microshift-list-update-contents
115+
- Name: Updating existing Kubernetes storage objects
116+
File: microshift-storage-migration
115117
---
116118
Name: Configuring
117119
Dir: microshift_configuring
@@ -207,8 +209,6 @@ Topics:
207209
File: expanding-persistent-volumes-microshift
208210
- Name: Working with volume snapshots
209211
File: volume-snapshots-microshift
210-
- Name: Understanding storage migration
211-
File: microshift-storage-migration
212212
---
213213
Name: Using AI models
214214
Dir: microshift_ai

microshift_storage/microshift-storage-migration.adoc renamed to microshift_updating/microshift-storage-migration.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ toc::[]
88

99
Storage version migration is used to update existing objects in the {microshift-short} node from their current version to the latest version. The Kube Storage Version Migrator embedded controller is used in {microshift-short} to migrate resources without having to re-create those resources. Either you or a controller can create a `StorageVersionMigration` custom resource (CR) that requests a migration through the Migrator Controller.
1010

11-
include::modules/microshift-making-storage-migration-request.adoc[leveloffset=+1]
11+
include::modules/microshift-updating-stored-data-to-latest-storage-version.adoc[leveloffset=+1]

modules/microshift-making-storage-migration-request.adoc renamed to modules/microshift-updating-stored-data-to-latest-storage-version.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// Module included in the following assemblies:
22
//
3-
// * microshift_storage/microshift-storage-migration.adoc
3+
// * microshift_updating/microshift-storage-migration.adoc
44

55
:_mod-docs-content-type: PROCEDURE
6-
[id="microshift-making-storage-migration-request_{context}"]
6+
[id="microshift-updating-stored-data-to-latest-storage-version_{context}"]
77
= Updating stored data to the latest storage version
88

99
Updating stored data to the latest Kubernetes storage version is called storage migration. For example, updating from `v1beta1` to `v1beta2` is migration. To update your storage version, use the following procedure.
@@ -19,12 +19,12 @@ Updating stored data to the latest Kubernetes storage version is called storage
1919
apiVersion: migration.k8s.io/v1alpha1
2020
kind: StorageVersionMigration
2121
metadata:
22-
name: snapshot-v1
22+
name: v1beta1
2323
spec:
2424
resource:
25-
group: snapshot.storage.k8s.io
26-
resource: volumesnapshotclasses <1>
27-
version: v1 <2>
25+
group: example.storage.k8s.io
26+
resource: volumeclasses <1>
27+
version: v1alpha1 <2>
2828
----
2929
<1> You must use the plural name of the resource.
3030
<2> Version being updated to.

0 commit comments

Comments
 (0)