On Sat, 21 Dec 2019, Anthony D'Atri wrote:
> > On Sat, 21 Dec 2019, Sasha Litvak wrote:
> >> Will the container image distros only limited to centos 8 based because of
> >> that? Can ubuntu be reintroduced?
> >
> > The point of the container is that we only need one image that can be used
> > on any distro. One place to track down dependencies, one set of runtime
> > libraries to test, etc.
> >
> > We're currently using centos8. ceph-container can be adapted to build
> > containers based on other distros, if there is a case to be made to switch
> > to something else, and all of the dependencies are available.
> >
> > cephadm is the new orchestration tool that deploys ceph daemons in
> > containers on any host OS that has python and either podman or docker.
> > Unless you go out of your way to look, you won't even know what distro the
> > image is based on.
> >
> > sage
> >
>
>
> Will containerization hamper logs and debugging? I’ve found docker to
> be a royal PITA in these respects.
I agree--especially for someone somewhat unfamiliar with containers.
cephadm sets up binds mounts and log rotation for the host /var/log/ceph
into the container, but by default logging is done the containery way by
just writing to stderr where it is picked up by journald. You can switch
to traditional log files with 'ceph config set global log_to_file true'.
sage
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx