]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephadm: accept --memory-{request,limit}
authorSage Weil <sage@newdream.net>
Fri, 5 Feb 2021 21:48:06 +0000 (15:48 -0600)
committerSage Weil <sage@newdream.net>
Tue, 23 Feb 2021 17:22:56 +0000 (12:22 -0500)
commita49bebe0d9772cf60261d95d837be52634787feb
treeb8c5405c1c4c8eb7dda23179a341a442054c1deb
parent7d78d21f7c0afc4d21cdbd28125960f67b2b30c8
cephadm: accept --memory-{request,limit}

Set a limit on the pod.  Pass both request and limit as
POD_MEMORY_REQUEST and POD_MEMORY_LIMIT, for consistency with Rook.

Store the request and limit in a new unit.meta file, stored next to
unit.run.

Report everything in unit.meta with 'ls' result.

Signed-off-by: Sage Weil <sage@newdream.net>
src/cephadm/cephadm