I am facing this problem when deploying Glusterfs + Heketi (thanks to this excellent repo) inside a GKE Kubernetes 1.6.1 cluster with nodes using the cos image. Thegk-deploy
script went well until it tried to execute heketi-cli -s http://${heketi_service} setup-openshift-heketi-storage
Error: Unable to execute command on glusterfs-xxxxx: /usr/sbin/modprobe failed: 1
thin: Required device-mapper target(s) not detected in your kernel.
Run `lvcreate --help' for more information.
Failed on setup openshift heketi storage
I know the fix that consists in using modeprobe dm_thin_pool
to each Kubernetes node, But it won't work on the cos image type.
How could we load this module in a google container optimized OS (cos image)?