You want to build a custom container for that user case indeed.
On Mon, Apr 12, 2021 at 2:18 PM Rob Haverkamp <r.haverkamp(a)42on.com> wrote:
Hi there,
I'm developing a custom ceph-mgr module and have issues deploying this on
a cluster deployed with cephadm.
With a cluster deployed with ceph-deploy, I can just put my code under
/usr/share/ceph/mgr/ and load the module. This works fine.
I think I found 2 options to do this with cephadm:
1. build a custom container image:
https://docs.ceph.com/en/octopus/cephadm/install/#deploying-custom-containe…
2. use the --shared_ceph_folder during cephadm bootstrap: 'Development
mode. Several folders in containers are volumes mapped to different
sub-folders in the ceph source folder'
The shared folder method is only meant for development. So that is not an
option in a production environment.
Building a custom container image should be possible, but I don't think I
want to go there.
Are there more options?
It would be nice if it was possible to deploy the managers with a custom
service specification that for example mounts a folder from the host system
to /usr/share/ceph/mgr/<module> in the container.
Thanks!
Rob Haverkamp
_______________________________________________
ceph-users mailing list -- ceph-users(a)ceph.io
To unsubscribe send an email to ceph-users-leave(a)ceph.io