1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
This commit is contained in:
Steven Smith
2022-12-15 11:25:03 -05:00
committed by openshift-cherrypick-robot
parent 095e92041b
commit 858ec7700b
50 changed files with 93 additions and 43 deletions

View File

@@ -121,14 +121,13 @@ Dir: microshift_storage
Distros: microshift
Topics:
- Name: MicroShift storage overview
File: microshift-storage-overview
File: index
- Name: Understanding ephemeral storage for MicroShift
File: understanding-ephemeral-storage-microshift
- Name: Understanding persistent storage for MicroShift
File: understanding-persistent-storage-microshift
- Name: Configuring persistent storage for MicroShift
Dir: persistent_storage_microshift
Distros: microshift
Topics:
- Name: MicroShift storage plugin overview
File: microshift-storage-plugin-overview
@@ -169,16 +168,6 @@ Topics:
# - Name: Configuring multitenant isolation with network policy
# File: multitenant-network-policy
# ---
# Name: Storage
# Dir: storage
# Distros: microshift
# Topics:
# - Name: Persistent storage
# Dir: persistent_storage
# Topics:
# - Name: Persistent storage using ODF-LVM
# File: microshift-persistent-storage-odf-lvm
# ---
# Name: Updating clusters
# Dir: updating
# Distros: microshift

View File

@@ -1 +1 @@
../images
../../images

View File

@@ -2,7 +2,7 @@
[id="persistent-storage-csi-microshift"]
= Configuring CSI volumes for MicroShift
include::_attributes/attributes-microshift.adoc[]
:context: persistent-storage-csi-storage-microshift
:context: persistent-storage-csi-microshift
toc::[]

View File

@@ -1,8 +1,8 @@
:_content-type: ASSEMBLY
[id="dynamic-provisioning-microshift"]
= Dynamic provisioning for MicroShift
= Dynamic provisioning for {product-title}
include::_attributes/attributes-microshift.adoc[]
:context: microshift-dynamic-provisioning
:context: dynamic-provisioning-microshift
toc::[]

View File

@@ -1,6 +1,6 @@
:_content-type: ASSEMBLY
[id="expanding-persistent-volumes-microshift"]
= Expanding persistent volumes for MicroShift
= Expanding persistent volumes for {product-title}
include::_attributes/common-attributes.adoc[]
:context: expanding-persistent-volumes-microshift
@@ -10,8 +10,6 @@ include::modules/storage-expanding-add-volume-expansion.adoc[leveloffset=+1]
include::modules/storage-expanding-csi-volumes.adoc[leveloffset=+1]
:FeatureName: Expanding CSI volumes
include::modules/storage-expanding-flexvolume.adoc[leveloffset=+1]
include::modules/storage-expanding-local-volumes.adoc[leveloffset=+1]
@@ -19,3 +17,9 @@ include::modules/storage-expanding-local-volumes.adoc[leveloffset=+1]
include::modules/storage-expanding-filesystem-pvc.adoc[leveloffset=+1]
include::modules/storage-expanding-recovering-failure.adoc[leveloffset=+1]
[role="_additional-resources"]
.Additional resources
* The controlling `StorageClass` object has `allowVolumeExpansion` set to `true` (see xref:../microshift_storage/expanding-persistent-volumes-microshift.html#add-volume-expansion_expanding-persistent-volumes-microshift[Enabling volume expansion support]).

View File

@@ -1,6 +1,6 @@
:_content-type: ASSEMBLY
[id="generic-ephemeral-volumes-microshift"]
= Generic ephemeral volumes for MicroShift
= Generic ephemeral volumes for {product-title}
include::_attributes/common-attributes.adoc[]
:context: generic-ephemeral-volumes-microshift

View File

@@ -1,15 +1,15 @@
:_content-type: ASSEMBLY
[id="microshift-storage-overview"]
[id="storage-overview-microshift"]
= {product-title} storage overview
include::_attributes/attributes-microshift.adoc[]
:context: storage-overview-microshift
toc::[]
{product-title} supports multiple types of storage, both for on-premise and cloud providers. You can manage container storage for persistent and non-persistent data in an {product-title} cluster.
{product-title} supports multiple types of storage, both for on-premise and cloud providers. You can manage container storage for persistent and non-persistent data in a {product-title} cluster.
[id="microshift-storage-types"]
== Storage Types
== Storage types
{product-title} storage is broadly classified into two categories, namely ephemeral storage and persistent storage.

View File

@@ -0,0 +1 @@
../_attributes

View File

@@ -0,0 +1 @@
../../images

View File

@@ -1,8 +1,8 @@
:_content-type: ASSEMBLY
[id="microshift-storage-plugin-overview"]
= MicroShift storage plugin overview
= MicroShift storage plug-in overview
include::_attributes/common-attributes.adoc[]
:context: persistent-storage-csi
:context: microshift-storage-plugin-overview
toc::[]

View File

@@ -0,0 +1 @@
../modules

View File

@@ -0,0 +1 @@
../snippets/

View File

@@ -1,6 +1,6 @@
:_content-type: ASSEMBLY
[id="understanding-ephemeral-storage-microshift"]
= Understanding ephemeral storage for MicroShift
= Understanding ephemeral storage for {product-title}
include::_attributes/attributes-microshift.adoc[]
:context: understanding-ephemeral-storage-microshift

View File

@@ -1,6 +1,6 @@
:_content-type: ASSEMBLY
[id="understanding-persistent-storage-microshift"]
= Understanding persistent storage for MicroShift
= Understanding persistent storage for {product-title}
include::_attributes/attributes-microshift.adoc[]
:context: understanding-persistent-storage-microshift
@@ -16,9 +16,6 @@ include::modules/storage-persistent-storage-reclaim.adoc[leveloffset=+2]
include::modules/storage-persistent-storage-pv.adoc[leveloffset=+1]
[role="_additional-resources"]
.Additional resources
include::modules/storage-persistent-storage-pvc.adoc[leveloffset=+1]
include::modules/storage-persistent-storage-fsGroup.adoc[leveloffset=+1]

View File

@@ -2,6 +2,7 @@
//
// * storage/dynamic-provisioning.adoc
// * post_installation_configuration/storage-configuration.adoc
// * microshift_storage/dynamic-provisioning-microshift.adoc
:_content-type: CONCEPT
[id="about_{context}"]

View File

@@ -2,6 +2,8 @@
//
// * storage/dynamic-provisioning.adoc
// * post_installation_configuration/storage-configuration.adoc
// * microshift_storage/dynamic-provisioning-microshift.adoc
[id="storage-class-annotations_{context}"]
= Storage class annotations

View File

@@ -2,6 +2,7 @@
//
// * storage/dynamic-provisioning.adoc
// * post_installation_configuration/storage-configuration.adoc
// * microshift_storage/dynamic-provisioning-microshift.adoc
[id="change-default-storage-class_{context}"]

View File

@@ -2,6 +2,8 @@
//
// * storage/dynamic-provisioning.adoc
// * post_installation_configuration/storage-configuration.adoc
// * microshift_storage/dynamic-provisioning-microshift.adoc
[id="defining-storage-classes_{context}"]
= Defining a storage class

View File

@@ -2,6 +2,8 @@
//
// * storage/dynamic-provisioning.adoc
// * post_installation_configuration/storage-configuration.adoc
// * microshift_storage/dynamic-provisioning-microshift.adoc
[id="basic-storage-class-definition_{context}"]
= Basic StorageClass object definition

View File

@@ -1,6 +1,8 @@
// Module included in the following assemblies:
//
// * storage/container_storage_interface/persistent_storage-csi.adoc
// * microshift_storage/container_storage_interface_microshift/microshift-persistent-storage-csi.adoc
[id="persistent-storage-csi-architecture_{context}"]
= CSI Architecture

View File

@@ -1,6 +1,8 @@
// Module included in the following assemblies:
//
// * storage/container_storage_interface/persistent_storage-csi.adoc
// * microshift_storage/container_storage_interface_microshift/microshift-persistent-storage-csi.adoc
[id="csi-driver-daemonset_{context}"]
= CSI driver daemon set

View File

@@ -1,6 +1,8 @@
// Module included in the following assemblies:
//
// * storage/container_storage_interface/persistent-storage-csi.adoc
// * microshift_storage/container_storage_interface_microshift/microshift-persistent-storage-csi.adoc
:_content-type: PROCEDURE
[id="csi-dynamic-provisioning_{context}"]

View File

@@ -1,6 +1,8 @@
// Module included in the following assemblies:
//
// * storage/container_storage_interface/persistent_storage-csi.adoc
// * microshift_storage/container_storage_interface_microshift/microshift-persistent-storage-csi.adoc
[id="external-csi-contollers_{context}"]
= External CSI controllers

View File

@@ -1,6 +1,8 @@
// Module included in the following assemblies
//
// * storage/container_storage_interface/persistent_storage-csi.adoc
// * microshift_storage/container_storage_interface_microshift/microshift-persistent-storage-csi.adoc
:_content-type: PROCEDURE
[id="csi-example-usage_{context}"]

View File

@@ -1,6 +1,8 @@
// Module included in the following assemblies:
//
// storage/understanding-persistent-storage.adoc[leveloffset=+1]
//* microshift_storage/understanding-ephemeral-storage-microshift.adoc
[id=storage-ephemeral-storage-manage_{context}]
= Ephemeral storage management

View File

@@ -1,6 +1,8 @@
// Module included in the following assemblies:
//
// storage/understanding-persistent-storage.adoc[leveloffset=+1]
//* microshift_storage/understanding-ephemeral-storage-microshift.adoc
[id=storage-ephemeral-storage-monitoring_{context}]
= Monitoring ephemeral storage

View File

@@ -1,6 +1,8 @@
// Module included in the following assemblies:
//
// storage/understanding-persistent-storage.adoc[leveloffset=+1]
//* microshift_storage/understanding-ephemeral-storage-microshift.adoc
:_content-type: CONCEPT
[id=storage-ephemeral-storage-overview_{context}]

View File

@@ -1,6 +1,8 @@
// Module included in the following assemblies:
//
// storage/understanding-persistent-storage.adoc[leveloffset=+1]
//* microshift_storage/understanding-ephemeral-storage-microshift.adoc
[id=storage-ephemeral-storage-types_{context}]
= Types of ephemeral storage

View File

@@ -1,6 +1,8 @@
// Module included in the following assemblies:
//
// * storage/generic-ephemeral-vols.adoc
//* microshift_storage/generic-ephemeral-volumes-microshift.adoc
:_content-type: CONCEPT
[id="generic-ephemeral-vols-lifecycle_{context}"]

View File

@@ -1,6 +1,8 @@
// Module included in the following assemblies:
//
// * storage/generic-ephemeral-vols.adoc
//* microshift_storage/generic-ephemeral-volumes-microshift.adoc
:_content-type: CONCEPT
[id="generic-ephemeral-vols-overview_{context}"]

View File

@@ -1,6 +1,8 @@
// Module included in the following assemblies:
//
// * storage/generic-ephemeral-vols.adoc
//* microshift_storage/generic-ephemeral-volumes-microshift.adoc
:_content-type: PROCEDURE
[id="generic-ephemeral-vols-procedure_{context}"]

View File

@@ -1,6 +1,8 @@
// Module included in the following assemblies:
//
// * storage/generic-ephemeral-vols.adoc
//* microshift_storage/generic-ephemeral-volumes-microshift.adoc
:_content-type: CONCEPT
[id="generic-ephemeral-vols-pvc-naming_{context}"]

View File

@@ -1,6 +1,8 @@
// Module included in the following assemblies:
//
// * storage/generic-ephemeral-vols.adoc
//* microshift_storage/generic-ephemeral-volumes-microshift.adoc
:_content-type: CONCEPT
[id="generic-ephemeral-security_{context}"]

View File

@@ -1,6 +1,7 @@
// Module included in the following assemblies
//
// * storage/expanding-persistent-volumes.adoc
//* microshift_storage/expanding-persistent-volumes-microshift.adoc
:_content-type: PROCEDURE
[id="add-volume-expansion_{context}"]

View File

@@ -1,6 +1,8 @@
// Module included in the following assemblies
//
// * storage/expanding-persistent-volumes.adoc
//* microshift_storage/expanding-persistent-volumes-microshift.adoc
:_content-type: PROCEDURE
[id="expanding-csi-volumes_{context}"]
@@ -20,14 +22,7 @@ CSI volume expansion does not support the following:
* Dynamic provisioning is used.
ifndef::microshift[]
* The controlling `StorageClass` object has `allowVolumeExpansion` set to `true` (see xref:../storage/expanding-persistent-volumes.adoc#add-volume-expansion_expanding-persistent-volumes[Enabling volume expansion support]).
endif::microshift[]
ifdef::microshift[]
* The controlling `StorageClass` object has `allowVolumeExpansion` set to `true` (see xref:../microshift_storage/expanding-persistent-volumes-microshift.html#add-volume-expansion_expanding-persistent-volumes-microshift[Enabling volume expansion support]).
endif::[]
* The controlling `StorageClass` object has `allowVolumeExpansion` set to `true`. For more information, see "Enabling volume expansion support."
.Procedure

View File

@@ -1,6 +1,8 @@
// Module included in the following assemblies:
//
// * storage/expanding-persistent-volume.adoc
//* microshift_storage/expanding-persistent-volumes-microshift.adoc
:_content-type: PROCEDURE
[id="expanding-pvc-filesystem_{context}"]

View File

@@ -1,6 +1,8 @@
// Module included in the following assemblies
//
// * storage/expanding-persistent-volumes.adoc
//* microshift_storage/expanding-persistent-volumes-microshift.adoc
:_content-type: PROCEDURE
[id="expanding-flexvolume_{context}"]

View File

@@ -1,6 +1,8 @@
// Module included in the following assemblies
//
// * storage/expanding-persistent-volumes.adoc
//* microshift_storage/expanding-persistent-volumes-microshift.adoc
:_content-type: PROCEDURE
[id="expanding-local-volumes_{context}"]

View File

@@ -1,6 +1,8 @@
// Module included in the following assemblies
//
// * storage/expanding-persistent-volumes.adoc
//* microshift_storage/expanding-persistent-volumes-microshift.adoc
:_content-type: PROCEDURE
[id="expanding-recovering-from-failure_{context}"]

View File

@@ -1,6 +1,8 @@
// Module included in the following assemblies:
//
// * storage/understanding-persistent-storage.adoc
//* microshift_storage/understanding-persistent-storage-microshift.adoc
[id="using_fsGroup_{context}"]
= Using fsGroup to reduce pod timeouts

View File

@@ -1,6 +1,8 @@
// Module included in the following assemblies:
//
// * storage/understanding-persistent-storage.adoc
//* microshift_storage/understanding-persistent-storage-microshift.adoc
[id=lifecycle-volume-claim_{context}]
= Lifecycle of a volume and claim

View File

@@ -1,6 +1,8 @@
// Module included in the following assemblies:
//
// storage/understanding-persistent-storage.adoc[leveloffset=+1]
//* microshift_storage/understanding-persistent-storage-microshift.adoc
:_content-type: CONCEPT
[id=persistent-storage-overview_{context}]

View File

@@ -1,6 +1,7 @@
// Module included in the following assemblies:
//
// * storage/understanding-persistent-storage.adoc
//* microshift_storage/understanding-persistent-storage-microshift.adoc
[id="persistent-volumes_{context}"]
= Persistent volumes
@@ -135,6 +136,7 @@ used simultaneously by two nodes. Before draining the node, first ensure
the pods that use these volumes are deleted.
====
ifndef::microshift[]
.Supported access modes for PVs
[cols=",^v,^v,^v", width="100%",options="header"]
|===
@@ -168,13 +170,12 @@ endif::[]
[.small]
--
1. ReadWriteOnce (RWO) volumes cannot be mounted on multiple nodes. If a node fails, the system does not allow the attached RWO volume to be mounted on a new node because it is already assigned to the failed node. If you encounter a multi-attach error message as a result, force delete the pod on a shutdown or crashed node to avoid data loss in critical workloads, such as when dynamic persistent volumes are attached.
ifndef::microshift[]
2. Use a recreate deployment strategy for pods that rely on AWS EBS.
3. If the underlying vSphere environment supports the vSAN file service, then the vSphere Container Storage Interface (CSI) Driver Operator installed by
{product-title} supports provisioning of ReadWriteMany (RWX) volumes. If you do not have vSAN file service configured, and you request RWX, the volume fails to get created and an error is logged. For more information, see "Using Container Storage Interface" -> "VMware vSphere CSI Driver Operator".
endif::microshift[]
// GCE Persistent Disks, or Openstack Cinder PVs.
--
endif::microshift[]
ifdef::openshift-online[]
[id="pv-restrictions_{context}"]

View File

@@ -1,6 +1,8 @@
// Module included in the following assemblies:
//
// * storage/understanding-persistent-storage.adoc
//* microshift_storage/understanding-persistent-storage-microshift.adoc
[id="persistent-volume-claims_{context}"]
= Persistent volume claims

View File

@@ -1,6 +1,8 @@
// Module included in the following assemblies:
//
// * storage/understanding-persistent-storage.adoc
//* microshift_storage/understanding-persistent-storage-microshift.adoc
:_content-type: PROCEDURE
[id="reclaim-manual_{context}"]

View File

@@ -1,6 +1,8 @@
// Module included in the following assemblies:
//
// * storage/understanding-persistent-storage.adoc
//* microshift_storage/understanding-persistent-storage-microshift.adoc
[id="reclaim-policy_{context}"]
= Changing the reclaim policy of a persistent volume

View File

@@ -21,3 +21,8 @@ include::modules/storage-expanding-filesystem-pvc.adoc[leveloffset=+1]
include::modules/storage-expanding-recovering-failure.adoc[leveloffset=+1]
endif::openshift-enterprise,openshift-webscale,openshift-origin[]
[role="_additional-resources"]
.Additional resources
* The controlling `StorageClass` object has `allowVolumeExpansion` set to `true` (see xref:../storage/expanding-persistent-volumes.adoc#add-volume-expansion_expanding-persistent-volumes[Enabling volume expansion support]).

View File

@@ -11,7 +11,7 @@ toc::[]
include::modules/openshift-storage-common-terms.adoc[leveloffset=+1]
[id="storage-types"]
== Storage Types
== Storage types
{product-title} storage is broadly classified into two categories, namely ephemeral storage and persistent storage.

View File

@@ -16,11 +16,9 @@ include::modules/storage-persistent-storage-reclaim.adoc[leveloffset=+2]
include::modules/storage-persistent-storage-pv.adoc[leveloffset=+1]
ifndef::microshift[]
[role="_additional-resources"]
.Additional resources
* xref:../storage/container_storage_interface/persistent-storage-csi-vsphere.adoc#persistent-storage-csi-vsphere-rwx_persistent-storage-csi-vsphere[ReadWriteMany vSphere volume support]
endif::[]
include::modules/storage-persistent-storage-pvc.adoc[leveloffset=+1]