Skip to content

Commit 04bd9c5

Browse files
Anthony Sansonejwilliams-mongo
authored andcommitted
(DOCSP-7555): Added recommended values to K8s.
1 parent 71fc3e4 commit 04bd9c5

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

source/includes/options-k8s-shared.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ description: |
195195
This value maps to the
196196
:k8sdocs:`limits field </reference/generated/kubernetes-api/v1.10/#resourcerequirements-v1-core>`
197197
for CPU for the created pod.
198+
198199
replacement:
199200
component: :term:`standalone deployment`
200201

@@ -214,6 +215,13 @@ description: |
214215
for CPU for the created pod.
215216
216217
The requested value must be less than or equal to {{cpuLimit}}.
218+
219+
.. note::
220+
221+
For production deployments, MongoDB recommends setting this value
222+
to ``2``. This value is consistent with
223+
:manual:`considerations stated </administration/production-notes#allocate-sufficient-ram-and-cpu>`
224+
for MongoDB hosts.
217225
replacement:
218226
component: standalone database
219227
cpuLimit: :setting:`spec.podSpec.cpu`
@@ -256,8 +264,14 @@ description: |
256264
:k8sdocs:`requests field </reference/generated/kubernetes-api/v1.10/#resourcerequirements-v1-core>`
257265
for memory for the created pod.
258266
259-
260267
The requested value must be less than or equal to {{memoryLimit}}.
268+
269+
.. note::
270+
271+
For production deployments, MongoDB recommends setting this value
272+
to ``16Gi``. This value is consistent with
273+
:manual:`considerations stated </administration/production-notes#allocate-sufficient-ram-and-cpu>`
274+
for MongoDB hosts.
261275
replacement:
262276
memoryLimit: :setting:`spec.podSpec.memory`
263277

0 commit comments

Comments
 (0)