在GKE cos图像上部署Kubernetes 1.6.1中的glusterfs / heketi

时间:2017-04-21 10:10:18

标签: kubernetes google-kubernetes-engine glusterfs google-container-os

在使用cos映像的节点的GKE Kubernetes 1.6.1集群内部署Glusterfs + Heketi(感谢this excellent repo)时,我遇到了这个问题。 gk-deploy脚本运行良好,直到尝试执行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

我知道对每个Kubernetes节点使用modeprobe dm_thin_pool的修复,但它不适用于cos图像类型。

我们如何在google容器优化操作系统(cos图像)中加载此模块?

1 个答案:

答案 0 :(得分:0)

Heketi在创建主机映像中所需的LVM设备时使用此模块。与其他发行版一样,此模块应该是GKE中cos或类似图像的一部分。如果您能够打开RFE请求以实现相同目的,将不胜感激。

相关问题