Project

General

Profile

Actions

Feature #51566

closed

cephadm: cpu limit

Added by Sebastian Wagner almost 3 years ago. Updated about 2 years 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

Actions #1

Updated by Sebastian Wagner over 2 years 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
Actions #2

Updated by Adam King over 2 years ago

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

Updated by Adam King about 2 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Adam King about 2 years ago

  • Pull request ID changed from 44517 to 44459
Actions #5

Updated by Adam King about 2 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF