Skip to content

Commit 0d6eeb0

Browse files
authored
Merge pull request #30170 from rolfedh/RHDEVDOCS-2752
Rhdevdocs 2752
2 parents 67efeea + ef98f47 commit 0d6eeb0

File tree

4 files changed

+24
-20
lines changed

4 files changed

+24
-20
lines changed

modules/cluster-logging-about-crd.adoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,11 @@ spec:
4343
request:
4444
memory: 8G
4545
proxy:
46-
limits:
47-
memory: 100Mi
48-
requests:
49-
memory: 100Mi
46+
resources:
47+
limits:
48+
memory: 256Mi
49+
requests:
50+
memory: 256Mi
5051
visualization:
5152
type: "kibana"
5253
kibana:

modules/cluster-logging-deploy-cli.adoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -362,10 +362,11 @@ spec:
362362
requests:
363363
memory: "8Gi"
364364
proxy: <8>
365-
limits:
366-
memory: 256Mi
367-
requests:
368-
memory: 256Mi
365+
resources:
366+
limits:
367+
memory: 256Mi
368+
requests:
369+
memory: 256Mi
369370
redundancyPolicy: "SingleRedundancy"
370371
visualization:
371372
type: "kibana" <9>

modules/cluster-logging-deploy-console.adoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,11 @@ spec:
196196
storage:
197197
storageClassName: "<storage_class_name>" <6>
198198
size: 200G
199-
resources: <7>
200-
requests:
201-
memory: "8Gi"
202-
proxy: <8>
199+
resources: <7>
200+
requests:
201+
memory: "8Gi"
202+
proxy: <8>
203+
resources:
203204
limits:
204205
memory: 256Mi
205206
requests:

modules/cluster-logging-logstore-limits.adoc

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// * logging/cluster-logging-elasticsearch.adoc
44

55
[id="cluster-logging-logstore-limits_{context}"]
6-
= Configuring CPU and memory requests for the log store
6+
= Configuring CPU and memory requests for the log store
77

88
Each component specification allows for adjustments to both the CPU and memory requests.
99
You should not have to manually adjust these values as the Elasticsearch
@@ -14,7 +14,7 @@ Operator sets values sufficient for your environment.
1414
In large-scale clusters, the default memory limit for the Elasticsearch proxy container might not be sufficient, causing the proxy container to be OOMKilled. If you experience this issue, increase the memory requests and limits for the Elasticsearch proxy.
1515
====
1616

17-
Each Elasticsearch node can operate with a lower memory setting though this is *not* recommended for production deployments.
17+
Each Elasticsearch node can operate with a lower memory setting though this is *not* recommended for production deployments.
1818
For production use, you should have no less than the default 16Gi allocated to each pod. Preferably you should allocate as much as possible, up to 64Gi per pod.
1919

2020
.Prerequisites
@@ -46,16 +46,17 @@ spec:
4646
cpu: "1"
4747
memory: "64Gi"
4848
proxy: <2>
49-
limits:
50-
memory: 100Mi
51-
requests:
52-
memory: 100Mi
49+
resources:
50+
limits:
51+
memory: 100Mi
52+
requests:
53+
memory: 100Mi
5354
----
5455
<1> Specify the CPU and memory requests for Elasticsearch as needed. If you leave these values blank,
5556
the Elasticsearch Operator sets default values that should be sufficient for most deployments. The default values are `16Gi` for the memory request and `1` for the CPU request.
5657
<2> Specify the CPU and memory requests for the Elasticsearch proxy as needed. If you leave these values blank, the Elasticsearch Operator sets default values that should be sufficient for most deployments. The default values are `256Mi` for the memory request and `100m` for the CPU request.
5758

58-
If you adjust the amount of Elasticsearch memory, you must change both the request value and the limit value.
59+
If you adjust the amount of Elasticsearch memory, you must change both the request value and the limit value.
5960

6061
For example:
6162

@@ -69,5 +70,5 @@ For example:
6970
memory: "32Gi"
7071
----
7172

72-
Kubernetes generally adheres the node configuration and does not allow Elasticsearch to use the specified limits.
73+
Kubernetes generally adheres the node configuration and does not allow Elasticsearch to use the specified limits.
7374
Setting the same value for the `requests` and `limits` ensures that Elasticsearch can use the memory you want, assuming the node has the memory available.

0 commit comments

Comments
 (0)