5.5.2. 关于 CSI

在过去,存储厂商一般会把存储驱动作为 Kubernetes 的一个部分提供。随着容器存储接口(CSI)的实现,第三方厂商可以使用标准接口来提供存储插件,而无需更改核心 Kubernetes 代码。

CSI Operators 为 OpenShift Container Platform 用户提供了存储选项,如卷快照,它无法通过 in-tree 卷插件实现。

重要

OpenShift Container Platform 默认使用 in-tree 或 non-CSI 驱动程序来置备 AWS EBS 存储。在 OpenShift Container Platform 以后的更新中会删除此 in-tree 驱动程序。在这个情况发生时,使用现有 in-tree 驱动程序置备的卷应计划迁移到 CSI 驱动程序。

有关在 OpenShift Container Platform 中动态置备 AWS EBS 持久性卷的详情,请参阅 使用 AWS Elastic Block Store 的持久性存储