This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.4.6. 使用 FlexVolume 的持久性存储
OpenShift Container Platform 支持 FlexVolume,这是一个树外插件,使用可执行模型与驱动程序进行接口。
要从没有内置插件的后端使用存储,您可以通过 FlexVolume 驱动程序来扩展 OpenShift Container Platform,并为应用程序提供持久性存储。
Pod 通过 flexvolume
树内插件与 FlexVolume 驱动程序交互。
4.6.1. 关于 FlexVolume 驱动程序 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
FlexVolume 驱动程序是一个可执行文件,它位于集群中所有节点的一个明确定义的目录中。OpenShift Container Platform 会在需要挂载或卸载由带有 flexVolume
的 PersistentVolume
对象代表的卷时调用 FlexVolume 驱动程序。
重要
OpenShift Container Platform 不支持 FlexVolume 的 attach 和 detach 操作。