mesosphere-backup / terraform-dcos

DC/OS Terraform Installation and Upgrading Scripts
Apache License 2.0
62 stars 64 forks source link

CentOS 7.4 + Overlay2 #51

Open Jeeppler opened 6 years ago

Jeeppler commented 6 years ago

Hello CentOS 7.4 uses currently Overlay as Docker storage driver. However, Overlay is not recommended by Docker:

"Note: If you use OverlayFS, use the overlay2 driver rather than the overlay driver, because it is more efficient in terms of inode utilization. To use the new driver, you need version 4.0 or higher of the Linux kernel, unless you are a Docker EE user on RHEL or CentOS, in which case you need version 3.10.0-693 or higher of the kernel and to follow some extra steps." (source: https://docs.docker.com/storage/storagedriver/overlayfs-driver/)

It would be nice to install and use overlay2 for CentOS 7.4+ nodes.

The issue with overlay is that the inodes on nodes tend to fill up and can't be cleaned without recycling the node.