Skip to content

Commit 37b3f5a

Browse files
committed
edit
1 parent d6a981d commit 37b3f5a

5 files changed

+7
-167
lines changed

_topic_map.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,6 @@ Topics:
141141
File: efk-logging-deploy
142142
- Name: Uninstalling the EFK stack
143143
File: efk-logging-uninstall
144-
- Name: Troubleshooting Kubernetes
145-
File: efk-logging-troubleshooting
146144
- Name: Working with Elasticsearch
147145
File: efk-logging-elasticsearch
148146
- Name: Working with Fluentd
@@ -159,5 +157,7 @@ Topics:
159157
File: efk-logging-manual-rollout
160158
- Name: Configuring systemd-journald and rsyslog
161159
File: efk-logging-systemd
160+
- Name: Troubleshooting Kubernetes
161+
File: efk-logging-troubleshooting
162162
- Name: Exported fields
163163
File: efk-logging-exported-fields

modules/efk-logging-elasticsearch-persistent-storage-about.adoc

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ openshift_logging_es_pvc_size=104802308Ki
4848
openshift_logging_es_pvc_prefix=es-logging
4949
----
5050

51-
If using dynamically provisioned PVs, the {product-title} logging installer creates PVCs
51+
If you use dynamically provisioned PVs, the {product-title} logging installer creates PVCs
5252
that use the default storage class or the PVC specified with the `openshift_logging_elasticsearch_pvc_storage_class_name` parameter.
5353

54-
If using NFS storage, the {product-title} installer creates the persistent volumes, based on the `openshift_logging_storage_*` parameters
54+
If you use NFS storage, the {product-title} installer creates the persistent volumes, based on the `openshift_logging_storage_*` parameters
5555
and the {product-title} logging installer creates PVCs, using the `openshift_logging_es_pvc_*` paramters.
56-
Make sure you specify the correct parameters in order to use persistent volumes with EFK.
56+
Make sure you specify the correct parameters to use persistent volumes with EFK.
5757
Also set the `openshift_enable_unsupported_configurations=true` parameter in the Ansible inventory file,
5858
as the logging installer blocks the installation of NFS with core infrastructure by default.
5959

@@ -63,18 +63,5 @@ Using NFS storage as a volume or a persistent volume (or via NAS such as
6363
Gluster) is not supported for Elasticsearch storage, as Lucene relies on file
6464
system behavior that NFS does not supply. Data corruption and other problems can
6565
occur.
66-
67-
----
68-
$ truncate -s 1T /nfs/storage/elasticsearch-1
69-
$ mkfs.xfs /nfs/storage/elasticsearch-1
70-
$ mount -o loop /nfs/storage/elasticsearch-1 /usr/local/es-storage
71-
$ chown 1000:1000 /usr/local/es-storage
72-
----
73-
74-
Then, use *_/usr/local/es-storage_* as a host-mount as described below.
75-
Use a different backing file as storage for each Elasticsearch node.
76-
77-
This loopback must be maintained manually outside of {product-title}, on the
78-
node. You must not maintain it from inside a container.
7966
====
8067

modules/efk-logging-elasticsearch-persistent-storage-local.adoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ $ oc patch dc/logging-es-<suffix> \
7777
-p '{"spec":{"template":{"spec":{"nodeSelector":{"logging-es-node":"1"}}}}}'
7878
----
7979

80-
. Once these steps are taken, a local host mount can be applied to each replica
81-
as in this example, assuming storage is mounted at the same path on each node:
80+
. Apply a local host mount to each replica. The following example assumes storage is mounted at the same path on each node:
8281
+
8382
----
8483
$ for dc in $(oc get deploymentconfig --selector logging-infra=elasticsearch -o name); do

modules/efk-logging-elasticsearch-persistent-storage.adoc

Lines changed: 0 additions & 146 deletions
This file was deleted.

modules/efk-logging-fluentd-log-location.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Fluentd writes logs to a specified file or to the default location, `/var/log/fl
1212
To set the output location for the Fluentd logs:
1313

1414
. Edit the `LOGGING_FILE_PATH` parameter
15-
in the default inventory file. You can specify a particular file or to STDOUT:
15+
in the default inventory file. You can specify a particular file or `STDOUT`:
1616
+
1717
----
1818
LOGGING_FILE_PATH=console <1>

0 commit comments

Comments
 (0)