Merge pull request #11113 from rook/mergify/bp/release-1.10/pr-11109

osd: Recommend removing memory limits from osd prepare job (backport #11109)
This commit is contained in:
mergify[bot] authored and GitHub committed 2022-10-05 23:15:38 +00:00
commit 1b982bb296
2 files changed
+7 -9

No files matched your search

@@ -513,16 +513,15 @@ If a user configures a limit or request value that is too low, Rook will still r
* `mon`: 1024MB
* `mgr`: 512MB
* `osd`: 2048MB
* `prepareosd`: 1200MB (see the note below)
* `crashcollector`: 60MB
* `mgr-sidecar`: 100MB limit, 40MB requests
* `prepareosd`: no limits (see the note)
!!! 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.
We recommend not setting memory limits on the OSD prepare job to prevent OSD provisioning failure due to memory constraints.
The OSD prepare job bursts memory usage during the OSD provisioning depending on the size of the device, typically
1-2Gi for large disks. 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 skip the provisioning.
!!! 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.
+2 -3
View File
@@ -257,9 +257,8 @@ cephClusterSpec:
cpu: "1000m"
memory: "4Gi"
prepareosd:
limits:
cpu: "500m"
memory: "1200Mi"
# limits: It is not recommended to set limits on the OSD prepare job since it's a one-time burst for memory
# that must be allowed to complete without an OOM kill
requests:
cpu: "500m"
memory: "50Mi"