Skip to content

Commit 18f6f6d

Browse files
authored
Merge pull request #99435 from tedaveryredhat/OSDOCS-11089
OSDOCS-11089:Plan refactor of MicroShift Storage book
2 parents 99fbeb9 + 9799049 commit 18f6f6d

10 files changed

+29
-25
lines changed

_topic_maps/_topic_map_ms.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -195,18 +195,16 @@ Name: Storage
195195
Dir: microshift_storage
196196
Distros: microshift
197197
Topics:
198-
- Name: About storage
199-
File: index
200-
- Name: Understanding ephemeral storage
201-
File: understanding-ephemeral-storage-microshift
198+
- Name: Using dynamic storage with the LVMS plugin
199+
File: microshift-storage-plugin-overview
200+
- Name: Using ephemeral storage
201+
File: using-ephemeral-storage-microshift
202202
- Name: Generic ephemeral volumes
203203
File: generic-ephemeral-volumes-microshift
204-
- Name: Understanding persistent storage
205-
File: understanding-persistent-storage-microshift
204+
- Name: Using persistent storage
205+
File: using-persistent-storage-microshift
206206
- Name: Expanding persistent volumes
207207
File: expanding-persistent-volumes-microshift
208-
- Name: Dynamic storage using the LVMS plugin
209-
File: microshift-storage-plugin-overview
210208
- Name: Working with volume snapshots
211209
File: volume-snapshots-microshift
212210
- Name: Understanding storage migration

microshift_storage/microshift-storage-plugin-overview.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
:_mod-docs-content-type: ASSEMBLY
22
[id="microshift-storage-plugin-overview"]
3-
= Dynamic storage using the LVMS plugin
3+
= Using dynamic storage with the LVMS plugin
44
include::_attributes/attributes-microshift.adoc[]
55
include::_attributes/common-attributes.adoc[]
66
:context: microshift-storage-plugin-overview
77

88
toc::[]
99

10+
Using dynamic provisioning allows you to create storage volumes on-demand, eliminating the need for pre-provisioned storage.
11+
1012
{microshift-short} enables dynamic storage provisioning that is ready for immediate use with the logical volume manager storage (LVMS) Container Storage Interface (CSI) provider. The LVMS plugin is the Red Hat downstream version of TopoLVM, a CSI plugin for managing logical volume management (LVM) logical volumes (LVs) for Kubernetes.
1113

1214
LVMS provisions new LVM logical volumes for container workloads with appropriately configured persistent volume claims (PVCs). Each PVC references a storage class that represents an LVM Volume Group (VG) on the host node. LVs are only provisioned for scheduled pods.

microshift_storage/understanding-ephemeral-storage-microshift.adoc renamed to microshift_storage/using-ephemeral-storage-microshift.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
:_mod-docs-content-type: ASSEMBLY
2-
[id="understanding-ephemeral-storage-microshift"]
3-
= Understanding ephemeral storage
2+
[id="using-ephemeral-storage-microshift"]
3+
= Using ephemeral storage
44
include::_attributes/attributes-microshift.adoc[]
5-
:context: understanding-ephemeral-storage-microshift
5+
:context: using-ephemeral-storage-microshift
66

77
toc::[]
88

microshift_storage/understanding-persistent-storage-microshift.adoc renamed to microshift_storage/using-persistent-storage-microshift.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
:_mod-docs-content-type: ASSEMBLY
2-
[id="understanding-persistent-storage-microshift"]
3-
= Understanding persistent storage
2+
[id="using-persistent-storage-microshift"]
3+
= Using persistent storage
44
include::_attributes/attributes-microshift.adoc[]
5-
:context: understanding-persistent-storage-microshift
5+
:context: using-persistent-storage-microshift
66

77
toc::[]
88

9-
Managing storage is a distinct problem from managing compute resources. {microshift-short} uses the Kubernetes persistent volume (PV) framework to allow {microshift-short} administrators to provision persistent storage for a node. Developers can use persistent volume claims (PVCs) to request PV resources without having specific knowledge of the underlying storage infrastructure.
9+
Managing storage is a distinct problem from managing compute resources. {microshift-short} uses the Kubernetes persistent volume (PV) framework to allow node administrators to provision persistent storage for a node. Developers can use persistent volume claims (PVCs) to request PV resources without having specific knowledge of the underlying storage infrastructure.
1010

1111
include::modules/microshift-control-permissions-security-context-constraints.adoc[leveloffset=+1]
1212

1313
include::modules/storage-persistent-storage-overview.adoc[leveloffset=+1]
1414

15-
[id="additional-resources_understanding-persistent-storage-microshift_{context}"]
15+
[id="additional-resources_using-persistent-storage-microshift_{context}"]
1616
[role="_additional-resources"]
1717
== Additional resources
1818
* link:https://access.redhat.com/documentation/en-us/openshift_container_platform/{ocp-version}/html/storage/understanding-persistent-storage#pv-access-modes_understanding-persistent-storage[Access modes for persistent storage]

microshift_storage/volume-snapshots-microshift.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ include::_attributes/attributes-microshift.adoc[]
66

77
toc::[]
88

9-
{microshift-short} administrators can use volume snapshots to help protect against data loss by using the supported {microshift-short} logical volume manager storage (LVMS) Container Storage Interface (CSI) provider. Familiarity with xref:../microshift_storage/understanding-persistent-storage-microshift.adoc#persistent-volumes_understanding-persistent-storage-microshift[persistent volumes] is required.
9+
{microshift-short} administrators can use volume snapshots to help protect against data loss by using the supported {microshift-short} logical volume manager storage (LVMS) Container Storage Interface (CSI) provider. Familiarity with xref:../microshift_storage/using-persistent-storage-microshift.adoc#persistent-volumes_using-persistent-storage-microshift[persistent volumes] is required.
1010

1111
A snapshot represents the state of the storage volume in a node at a particular point in time. Volume snapshots can also be used to provision new volumes. Snapshots are created as read-only logical volumes (LVs) located on the same device as the original data.
1212

13-
A {microshift-short} administrator can complete the following tasks by using CSI volume snapshots:
13+
A {microshift-short} administrator can complete the following tasks using CSI volume snapshots:
1414

1515
* Create a snapshot of an existing persistent volume claim (PVC).
1616
* Back up a volume snapshot to a secure location.
@@ -26,7 +26,7 @@ Only the logical volume manager storage (LVMS) plugin CSI driver is supported by
2626
[role="_additional-resources"]
2727
.Additional resources
2828

29-
* xref:../microshift_storage/understanding-persistent-storage-microshift.adoc#persistent-volumes_understanding-persistent-storage-microshift[Understanding persistent volumes]
29+
* xref:../microshift_storage/using-persistent-storage-microshift.adoc#persistent-volumes_using-persistent-storage-microshift[Using persistent volumes]
3030
3131
* link:https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/configuring_and_managing_logical_volumes/managing-lvm-volume-groups_configuring-and-managing-logical-volumes[Managing LVM volume groups] ({op-system-base} documentation)
3232

modules/lvms-about-volume-snapshots.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// storage/persistent_storage/persistent_storage_local/persistent-storage-using-lvms.adoc
44

55
:_mod-docs-content-type: CONCEPT
6-
[id="lvms-about-volume-snapsot_{context}"]
6+
[id="lvms-about-volume-snapshots_{context}"]
77
= About volume snapshots
88

99
You can create snapshots of persistent volume claims (PVCs) that are provisioned by {lvms}.

modules/microshift-disabling-uninstalling-lvms-csi-snapshot.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ Automated uninstallation is not supported as this can cause orphaning of the pro
1919

2020
[NOTE]
2121
====
22-
You can configure {microshift-short} to disable CSI provider and CSI snapshot only before installing and running {microshift-short}.After {microshift-short} is installed and running, you must update the configuration file and uninstall the components.
22+
You can configure {microshift-short} to disable CSI provider and CSI snapshot only before installing and running {microshift-short}. After {microshift-short} is installed and running, you must update the configuration file and uninstall the components.
2323
====

modules/microshift-lvms-config-example-basic.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// * microshift_storage/microshift-storage-plugin-overview.adoc
44

55
:_mod-docs-content-type: CONCEPT
6-
[id="microshift-lvmd-config-example-basic_{context}"]
6+
[id="microshift-lvms-config-example-basic_{context}"]
77
= Basic LVMS configuration example
88

99
{microshift-short} supports passing through your LVM configuration and allows you to specify custom volume groups, thin volume provisioning parameters, and reserved unallocated volume group space. You can edit the LVMS configuration file you created at any time. You must restart {microshift-short} to deploy configuration changes after editing the file.

modules/storage-ephemeral-storage-overview.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
[id=storage-ephemeral-storage-overview_{context}]
99
= Overview
1010

11+
Pods and containers are ephemeral or transient in nature and designed for stateless applications. Ephemeral storage allows administrators and developers to better manage the local storage for some of their operations.
12+
1113
In addition to persistent storage, pods and containers can require ephemeral or transient local storage for their operation. The lifetime of this ephemeral storage does not extend beyond the life of the individual pod, and this ephemeral storage cannot be shared across pods.
1214

1315
Pods use ephemeral local storage for scratch space, caching, and logs. Issues related to the lack of local storage accounting and isolation include the following:

modules/storage-persistent-storage-overview.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,16 @@
77
[id=persistent-storage-overview_{context}]
88
= Persistent storage overview
99

10+
Stateful applications deployed in containers require persistent storage. {microshift-short} uses a pre-provisioned storage framework called persistent volumes (PV) to allow node administrators to provision persistent storage. The data inside these volumes can exist beyond the lifecycle of an individual pod. Developers can use persistent volume claims (PVCs) to request storage requirements.
11+
1012
ifndef::microshift[]
1113
Managing storage is a distinct problem from managing compute resources. {product-title} uses the Kubernetes persistent volume (PV) framework to allow cluster administrators to provision persistent storage for a cluster. Developers can use persistent volume claims (PVCs) to request PV resources without having specific knowledge of the underlying storage infrastructure.
1214

13-
PVCs are specific to a project, and are created and used by developers as a means to use a PV. PV resources on their own are not scoped to any single project; they can be shared across the entire {product-title} cluster and claimed from any project. After a PV is bound to a PVC, that PV can not then be bound to additional PVCs. This has the effect of scoping a bound PV to a single namespace, that of the binding project.
15+
PVCs are specific to a project, and are created and used by developers as a means to use a PV. PV resources on their own are not scoped to any single project; they can be shared across the entire {product-title} node and claimed from any project. After a PV is bound to a PVC, that PV can not then be bound to additional PVCs. This has the effect of scoping a bound PV to a single namespace, that of the binding project.
1416
endif::microshift[]
1517

1618
ifdef::microshift[]
17-
PVCs are specific to a namespace, and are created and used by developers as a means to use a PV. PV resources on their own are not scoped to any single namespace; they can be shared across the entire {product-title} cluster and claimed from any namespace. After a PV is bound to a PVC, that PV can not then be bound to additional PVCs. This has the effect of scoping a bound PV to a single namespace.
19+
PVCs are specific to a namespace, and are created and used by developers as a means to use a PV. PV resources on their own are not scoped to any single namespace; they can be shared across the entire {product-title} node and claimed from any namespace. After a PV is bound to a PVC, that PV can not then be bound to additional PVCs. This has the effect of scoping a bound PV to a single namespace.
1820
endif::microshift[]
1921

2022
PVs are defined by a `PersistentVolume` API object, which represents a piece of existing storage in the cluster that was either statically provisioned by the cluster administrator or dynamically provisioned using a `StorageClass` object. It is a resource in the cluster just like a node is a cluster resource.

0 commit comments

Comments
 (0)