Project

General

Profile

Feature #51566

cephadm: cpu limit

Added by Sebastian Wagner about 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
cephadm
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

ceph-ansible allowed customization of CPU limits for containerized daemons per each type (so you could have different setting for MON, OSD, MGR, etc)

cephadm should offer same option.

This is a follow-up on the osd-memory-target feature

History

#1 Updated by Sebastian Wagner over 1 year ago

To be done here:

  • You have to extend the Cephadm's data structure to contain a cpu limit per service
  • Needs be verified that the limit is sane
  • you need a UX component (CLI, orchestrator interface, you name it)
  • Needs to be discussed in an orchestrator weekly call for the technology
  • default value should be none. (no limit)
  • just expose what podman gives you.
  • then you need to add this limit to the daemon deployment (has to be transferred from mgr/cephadm module to the actual daemon as deployed by the /src/cephadm)
  • and the you should report this limit ceph orch ps (plain and yaml)
  • Then you need to add either unit testing or integration testing

#2 Updated by Adam King over 1 year ago

  • Status changed from New to Fix Under Review
  • Assignee set to Adam King
  • Pull request ID set to 44517

#3 Updated by Adam King over 1 year ago

  • Status changed from Fix Under Review to Pending Backport

#4 Updated by Adam King over 1 year ago

  • Pull request ID changed from 44517 to 44459

#5 Updated by Adam King over 1 year ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF