Skip to content

Commit cae1476

Browse files
authored
Merge pull request #28680 from mburke5678/logging-volumeMode-block
Do not use volumeMode: block in LocalVolume object
2 parents 2e253b7 + 8d9b85a commit cae1476

6 files changed

+31
-2
lines changed

modules/cluster-logging-deploy-cli.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ You can use the {product-title} CLI to install the Elasticsearch and Cluster Log
1212
* Ensure that you have the necessary persistent storage for Elasticsearch. Note that each Elasticsearch node
1313
requires its own storage volume.
1414
+
15+
[NOTE]
16+
====
17+
If you use a local volume for persistent storage, do not use a raw block volume, which is described with `volumeMode: block` in the `LocalVolume` object. Elasticsearch cannot use raw block volumes.
18+
====
19+
+
1520
Elasticsearch is a memory-intensive application. By default, {product-title} installs three Elasticsearch nodes with memory requests and limits of 16 GB. This initial set of three {product-title} nodes might not have enough memory to run Elasticsearch within your cluster. If you experience memory issues that are related to Elasticsearch, add more Elasticsearch nodes to your cluster rather than increasing the memory on existing nodes.
1621

1722
ifdef::openshift-origin[]

modules/cluster-logging-deploy-console.adoc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,19 @@ You can use the {product-title} web console to install the Elasticsearch and Clu
1212
* Ensure that you have the necessary persistent storage for Elasticsearch. Note that each Elasticsearch node
1313
requires its own storage volume.
1414
+
15+
[NOTE]
16+
====
17+
If you use a local volume for persistent storage, do not use a raw block volume, which is described with `volumeMode: block` in the `LocalVolume` object. Elasticsearch cannot use raw block volumes.
18+
====
19+
+
1520
Elasticsearch is a memory-intensive application. By default, {product-title} installs three Elasticsearch nodes with memory requests and limits of 16 GB. This initial set of three {product-title} nodes might not have enough memory to run Elasticsearch within your cluster. If you experience memory issues that are related to Elasticsearch, add more Elasticsearch nodes to your cluster rather than increasing the memory on existing nodes.
1621

1722
ifdef::openshift-origin[]
1823
* Ensure that you have downloaded the link:https://cloud.redhat.com/openshift/install/pull-secret[pull secret from the Red Hat OpenShift Cluster Manager site] as shown in _Obtaining the installation program_ in the installation documentation for your platform.
1924
+
2025
If you have the pull secret, add the `redhat-operators` catalog to the OperatorHub custom resource (CR) as shown in _Configuring {product-title} to use Red Hat Operators_.
2126
endif::[]
22-
27+
2328
.Procedure
2429

2530
To install the Elasticsearch Operator and Cluster Logging Operator using the {product-title} web console:

modules/cluster-logging-deploy-storage-considerations.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ An Elasticsearch index is a collection of primary shards and their corresponding
1111

1212
A persistent volume is required for each Elasticsearch deployment configuration. On {product-title} this is achieved using persistent volume claims.
1313

14+
[NOTE]
15+
====
16+
If you use a local volume for persistent storage, do not use a raw block volume, which is described with `volumeMode: block` in the `LocalVolume` object. Elasticsearch cannot use raw block volumes.
17+
====
18+
1419
The Elasticsearch Operator names the PVCs using the Elasticsearch resource name.
1520

1621
////

modules/cluster-logging-elasticsearch-storage.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,8 @@ metadata:
4343
----
4444

4545
This example specifies each data node in the cluster is bound to a Persistent Volume Claim that requests "200G" of AWS General Purpose SSD (gp2) storage.
46+
47+
[NOTE]
48+
====
49+
If you use a local volume for persistent storage, do not use a raw block volume, which is described with `volumeMode: block` in the `LocalVolume` object. Elasticsearch cannot use raw block volumes.
50+
====

modules/persistent-storage-local-create-cr.adoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ Local volumes cannot be created by dynamic provisioning. Instead, persistent vol
2020
====
2121
Do not use different storage class names for the same device. Doing so will create multiple persistent volumes (PVs).
2222
====
23-
2423
+
2524
.Example: Filesystem
2625
[source,yaml]
@@ -55,6 +54,11 @@ spec:
5554
<6> The path containing a list of local storage devices to choose from.
5655
<7> Replace this value with your actual local disks filepath to the `LocalVolume` resource, such as `/dev/xvdg`. PVs are created for these local disks when the provisioner is deployed successfully.
5756
+
57+
[NOTE]
58+
====
59+
A raw block volume (`volumeMode: block`) is not formatted with a file system. You should use this mode only if any application running on the pod can use raw block devices.
60+
====
61+
+
5862
.Example: Block
5963
[source,yaml]
6064
----

monitoring/configuring-the-monitoring-stack.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ See xref:../scalability_and_performance/optimizing-storage.adoc#recommended-conf
8484
* Use the block type of storage.
8585

8686
* xref:../storage/persistent_storage/persistent-storage-local.adoc#persistent-storage-using-local-volume[Configure local persistent storage.]
87+
+
88+
[NOTE]
89+
====
90+
If you use a local volume for persistent storage, do not use a raw block volume, which is described with `volumeMode: block` in the `LocalVolume` object. Elasticsearch cannot use raw block volumes.
91+
====
8792

8893
include::modules/monitoring-configuring-a-local-persistent-volume-claim.adoc[leveloffset=+2]
8994
include::modules/monitoring-modifying-retention-time-for-prometheus-metrics-data.adoc[leveloffset=+2]

0 commit comments

Comments
 (0)