Giter VIP home page Giter VIP logo

Comments (9)

jarrpa avatar jarrpa commented on August 19, 2024 2

@rporres It has to because we use systemd to launch and manage multiple processes in the mainline container images. I can get away with starting it in non-daemon mode because I get rid of systemd and just run them as background processes from a bash script.

from gluster-kubernetes.

jarrpa avatar jarrpa commented on August 19, 2024 1

@rporres Oh it most certainly does. I can run glusterd in non-daemon mode, but I'm not sure if that's enough to capture the logs from all the subprocesses it spawns. :/

from gluster-kubernetes.

MohamedAshiqrh avatar MohamedAshiqrh commented on August 19, 2024

All the glusterfs logs are made persistent on the host where the glusterfs containers are running. Path :/var/log/glusterfs

from gluster-kubernetes.

webwurst avatar webwurst commented on August 19, 2024

Ok, good to know :) But I would expect the logs on stdout, so kubectl logs could show them. I am also forwarding the output of all containers to a central logging server. So it would be cool if you could consider a change on that setting.

from gluster-kubernetes.

rporres avatar rporres commented on August 19, 2024

I guess that comes from the Docker image itself in https://github.com/gluster/gluster-containers... Docker run command in the example mounts log volume too.

I don't see that Gluster supports STDOUT logging in http://docs.gluster.org/en/latest/Administrator%20Guide/Logging/

from gluster-kubernetes.

jarrpa avatar jarrpa commented on August 19, 2024

@rporres It doesn't, but I've played some kinda nasty tricks to get it to log to stdout in my experimental containers. ;) Not sure if/when this will make it to the mainline containers, however.

from gluster-kubernetes.

rporres avatar rporres commented on August 19, 2024

That looks cool, @jarrpa. I started to think in doing something like that creating a link to /dev/stdout but stopped thinking in that direction when I saw that there are things like brick's logs that you won't know the name beforehand... I'm a total noob here but I have the impression that this is something that has to be addressed at an application level

from gluster-kubernetes.

rporres avatar rporres commented on August 19, 2024

Is there any reason why gluster is running in daemon mode, @jarrpa? I guess it is quite standard practice to do it in container processes...

from gluster-kubernetes.

chadswen avatar chadswen commented on August 19, 2024

@jarrpa +1000 for work towards a gluster container without systemd. We have ran into a number of systemd bugs with the gluster/gluster-containers images and would be very interested in using containerized gluster without it.

We would be willing to help and test if it can get support for this approach in the mainline.

from gluster-kubernetes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.