gluster-csi-driver
gluster-csi-driver copied to clipboard
Rotate logs for glusterfs fuse mounts
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.