Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Override the GlusterFS log file location
GlusterFS by default uses a log file based on the mountpoint path munged into a file, i.e. `/mnt/foo/bar` becomes `/var/log/glusterfs/mnt-foo-bar.log`. On certain Kubernetes environments this can result in a log file that exceeds the 255 character length most filesystems impose on filenames causing the mount to fail. Instead, use the `log-file` mount option to place the log file under the kubelet plugin directory with a filename of our choosing keeping it fairly persistent in the case of troubleshooting.
- Loading branch information