osd: prepare job needs significant more memory for provisioning
The OSD creation may need to burst during OSD provisioning depending
on the size of the OSD or similar factors. If the OSD prepare job is
OOM killed it will cause OSD provisioning to fail and have various
side effects that are difficult to troubleshoot to get the OSD
to succeed. So we increase the recommendation significantly to avoid
the OOM kill.
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 92c52c4a2e)
This commit is contained in:
1 parent
45b790d44a
commit
0a2f2bfd93
2 files changed
+9
-2
No files matched your search
@@ -513,10 +513,17 @@ If a user configures a limit or request value that is too low, Rook will still r
|
||||
* `mon`: 1024MB
|
||||
* `mgr`: 512MB
|
||||
* `osd`: 2048MB
|
||||
* `prepareosd`: 50MB
|
||||
* `prepareosd`: 1200MB (see the note below)
|
||||
* `crashcollector`: 60MB
|
||||
* `mgr-sidecar`: 100MB limit, 40MB requests
|
||||
|
||||
!!! note
|
||||
* The OSD prepare job may burst its memory usage during the OSD provisioning.
|
||||
We either recommend not setting memory limits on the OSD prepare job, or setting limits over 1GB to prevent OSD
|
||||
provisioning failure due to memory constraints that are difficult to troubleshoot. The OSD prepare job
|
||||
only bursts a single time per OSD. All future runs of the OSD prepare job will detect the OSD is already
|
||||
provisioned and not require a burst.
|
||||
|
||||
!!! hint
|
||||
The resources for MDS daemons are not configured in the Cluster. Refer to the [Ceph Filesystem CRD](../Shared-Filesystem/ceph-filesystem-crd.md) instead.
|
||||
|
||||
|
||||
@@ -259,7 +259,7 @@ cephClusterSpec:
|
||||
prepareosd:
|
||||
limits:
|
||||
cpu: "500m"
|
||||
memory: "400Mi"
|
||||
memory: "1200Mi"
|
||||
requests:
|
||||
cpu: "500m"
|
||||
memory: "50Mi"
|
||||
|
||||
Reference in new issue
Block a user