Skip to content

Rotate logs for glusterfs fuse mounts #166

Open
@nixpanic

Description

@nixpanic

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions