Skip to content

Commit bb2de04

Browse files
authored
Merge pull request #31908 from rolfedh/RHDEVDOCS-2945-rem-el-cur
RHDEVDOCS-2945 Remove Elasticsearch Curator from Logging 5.1
2 parents def0d69 + 4850026 commit bb2de04

27 files changed

+35
-464
lines changed

_topic_map.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1846,8 +1846,6 @@ Topics:
18461846
File: cluster-logging-moving-nodes
18471847
- Name: Configuring systemd-journald for Logging
18481848
File: cluster-logging-systemd
1849-
- Name: Configuring the log curator
1850-
File: cluster-logging-curator
18511849
- Name: Maintenance and support
18521850
File: cluster-logging-maintenance-support
18531851
- Name: Viewing logs for a specific resource
@@ -1885,8 +1883,6 @@ Topics:
18851883
File: cluster-logging-log-store-status
18861884
- Name: Understanding Logging alerts
18871885
File: cluster-logging-alerts
1888-
- Name: Troubleshooting the log curator
1889-
File: cluster-logging-troubleshooting-curator
18901886
- Name: Collecting logging data for Red Hat Support
18911887
File: cluster-logging-must-gather
18921888
- Name: Uninstalling Logging

_unused_topics/cluster-logging-configuring-node-selector.adoc

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,13 @@ spec:
4545
nodeSelector: <2>
4646
logging: kibana
4747
replicas: 1
48-
curation:
49-
type: "curator"
50-
curator:
51-
nodeSelector: <3>
52-
logging: curator
53-
schedule: "*/10 * * * *"
5448
collection:
5549
logs:
5650
type: "fluentd"
5751
fluentd:
58-
nodeSelector: <4>
52+
nodeSelector: <3>
5953
logging: fluentd
6054
----
6155
<1> Node selector for Elasticsearch.
6256
<2> Node selector for Kibana.
63-
<3> Node selector for Curator.
64-
<4> Node selector for Fluentd.
57+
<3> Node selector for Fluentd.

logging/cluster-logging-eventrouter.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
:context: cluster-logging-curator
1+
:context: cluster-logging-eventrouter
22
[id="cluster-logging-eventrouter"]
33
= Collecting and storing Kubernetes events
44
include::modules/common-attributes.adoc[]
@@ -7,7 +7,7 @@ toc::[]
77

88
The {product-title} Event Router is a pod that watches Kubernetes events and logs them for collection by OpenShift Logging. You must manually deploy the Event Router.
99

10-
The Event Router collects events from all projects and writes them to `STDOUT`. Fluentd collects those events and forwards them into the {product-title} Elasticsearch instance. Elasticsearch indexes the events to the `infra` index.
10+
The Event Router collects events from all projects and writes them to `STDOUT`. Fluentd collects those events and forwards them into the {product-title} Elasticsearch instance. Elasticsearch indexes the events to the `infra` index.
1111

1212
[IMPORTANT]
1313
====

logging/config/cluster-logging-curator.adoc

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

logging/config/cluster-logging-moving-nodes.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ toc::[]
99

1010

1111

12-
You can use node selectors to deploy the Elasticsearch, Kibana, and Curator pods to different nodes.
12+
You can use node selectors to deploy the Elasticsearch and Kibana pods to different nodes.
1313

1414
// The following include statements pull in the module files that comprise
1515
// the assembly. Include any combination of concept, procedure, or reference

logging/dedicated-cluster-logging.adoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ toc::[]
88
As a cluster administrator, you can deploy OpenShift Logging
99
to aggregate logs for a range of services.
1010

11-
{product-title} clusters can perform logging tasks using the OpenShift Elasticsearch
12-
Operator. OpenShift Logging is configured through the Curator tool to retain logs
13-
for two days.
11+
{product-title} clusters can perform logging tasks using the OpenShift Elasticsearch Operator.
12+
1413

1514
OpenShift Logging is configurable using a `ClusterLogging` custom resource (CR)
1615
deployed in the `openshift-logging` project namespace.
@@ -20,9 +19,11 @@ any missing logging components, and adjusts the logging environment accordingly.
2019

2120
The `ClusterLogging` CR is based on the `ClusterLogging` custom resource
2221
definition (CRD), which defines a complete OpenShift Logging environment and
23-
includes all the components of the logging stack to collect, store and visualize
22+
includes all the components of the logging stack to collect, store, and visualize
2423
logs.
2524

25+
The `retentionPolicy` parameter in the `ClusterLogging` custom resource (CR) defines how long the internal Elasticsearch log store retains logs.
26+
2627
.Sample `ClusterLogging` custom resource (CR)
2728
[source,yaml]
2829
----

logging/troubleshooting/cluster-logging-troubleshooting-curator.adoc

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

modules/cluster-logging-about-crd.adoc

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -105,17 +105,7 @@ spec:
105105
cpu: 100m
106106
memory: 736Mi
107107
replicas: 1
108-
curation: <6>
109-
type: "curator"
110-
curator:
111-
resources:
112-
limits:
113-
memory: 256Mi
114-
requests:
115-
cpu: 100m
116-
memory: 256Mi
117-
schedule: "30 3 * * *"
118-
collection: <7>
108+
collection: <6>
119109
logs:
120110
type: "fluentd"
121111
fluentd:
@@ -131,6 +121,5 @@ spec:
131121
<3> The Red Hat OpenShift Logging Operator management state. When set to `unmanaged` the operator is in an unsupported state and will not get updates.
132122
<4> Settings for the log store, including retention policy, the number of nodes, the resource requests and limits, and the storage class.
133123
<5> Settings for the visualizer, including the resource requests and limits, and the number of pod replicas.
134-
<6> Settings for curation, including the resource requests and limits, and curation schedule.
135-
<7> Settings for the log collector, including the resource requests and limits.
124+
<6> Settings for the log collector, including the resource requests and limits.
136125
endif::[]

modules/cluster-logging-configuring-image-about.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ You can view the images by running the following command:
1515
----
1616
$ oc -n openshift-logging set env deployment/cluster-logging-operator --list | grep _IMAGE
1717
----
18+
// logging test command and update the example output
1819

20+
.Example output
1921
[source,terminal]
2022
----
2123
FLUENTD_IMAGE=registry.redhat.io/openshift-logging/fluentd-rhel8:latest@sha256:ffdf79da7386871d2bc24cd937e02284b30f85a9979dc8c635fb73021cbca2f3 <1>
22-
CURATOR_IMAGE=registry.redhat.io/openshift-logging/logging-curator5-rhel8:latest@sha256:b57c5135d72a01170e1cef26af1ea79d80ce52934456cfe363280ecbe795f21a <2>
2324
----
2425
<1> *FLUENTD_IMAGE* deploys Fluentd.
25-
<2> *CURATOR_IMAGE* deploys Curator.
2626

2727
[NOTE]
2828
====

modules/cluster-logging-cpu-memory.adoc

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -59,21 +59,11 @@ spec:
5959
cpu: 100m
6060
memory: 100Mi
6161
replicas: 2
62-
curation:
63-
type: "curator"
64-
curator:
65-
resources: <3>
66-
limits:
67-
memory: 200Mi
68-
requests:
69-
cpu: 200m
70-
memory: 200Mi
71-
schedule: "*/10 * * * *"
7262
collection:
7363
logs:
7464
type: "fluentd"
7565
fluentd:
76-
resources: <4>
66+
resources: <3>
7767
limits:
7868
memory: 736Mi
7969
requests:
@@ -82,5 +72,4 @@ spec:
8272
----
8373
<1> Specify the CPU and memory limits and requests for the log store as needed. For Elasticsearch, you must adjust both the request value and the limit value.
8474
<2> Specify the CPU and memory limits and requests for the log visualizer as needed.
85-
<3> Specify the CPU and memory limits and requests for the log curator as needed.
86-
<4> Specify the CPU and memory limits and requests for the log collector as needed.
75+
<3> Specify the CPU and memory limits and requests for the log collector as needed.

0 commit comments

Comments
 (0)