Comments (9)
@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.
@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.
All the glusterfs logs are made persistent on the host where the glusterfs containers are running. Path :/var/log/glusterfs
from gluster-kubernetes.
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.
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.
@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.
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.
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.
@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)
- Error: Failed to allocate new volume: No space HOT 2
- Unable to access db HOT 1
- missing required field "selector" in io.k8s.api.apps.v1.DeploymentSpec HOT 1
- Unable to deploy on Ubuntu 18.04 -> pods not found. HOT 6
- Request to structure the README to include more projects
- 401 with latest heketi:dev image HOT 1
- probe failed
- glusterFS pod deploy failing
- PVC in pending status-no other error HOT 2
- Mount failed:E [glusterfsd.c:795:gf_remember_backup_volfile_server] 0-glusterfs: failed to set volfile server: File exists HOT 5
- Pod devices for topology get stuck, if pods are restarted.
- vagrant - failed to install glusterfs-client
- is this project still ALIVE? HOT 9
- Which gluster node are my pods/pvc talking to?
- Error waiting for job 'heketi-storage-copy-job' to complete HOT 4
- Kubernetes DaemonSet extensions/v1beta1 deprecated
- speed up deploying gluster
- heketi deployment has CrashLoopBackOff state, I am using ./gk-deploy script
- glusterfs on kubernetes stock on Error waiting for job 'heketi-storage-copy-job' to complete. stage
- About GlusterFs containers support geographic replication
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gluster-kubernetes.