Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rotate logs for glusterfs fuse mounts #166

Open
nixpanic opened this issue Feb 5, 2019 · 0 comments
Open

Rotate logs for glusterfs fuse mounts #166

nixpanic opened this issue Feb 5, 2019 · 0 comments

Comments

@nixpanic
Copy link
Member

nixpanic commented Feb 5, 2019

Describe the feature you'd like to have.
The GlusterFS FUSE mount process will write logs in the /var/log/glusterfs default location. These logs need to be rotated to prevent filling up the storage of the container.

What is the value to the end user? (why is it a priority?)
By rotating logs, the pod/container should not run out of storage and will keep functioning.

How will we know we have a good solution? (acceptance criteria)
Daily rotation of the logs, compress rotated logs and remove the archived logs after x days. See the (default logrotate configuration)[https://github.com/gluster/glusterfs/blob/master/extras/glusterfs-logrotate] for inspiration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant