K8sCSIPlugin 主机插件 用户手册
v
浪潮专有和保密信息
版权所有 © 浪潮电子信息产业股份有限公司
目录
使用声明 .................................................................................................................................................. ii
安全声明 ................................................................................................................................................. iii
安全细则 ................................................................................................................................................. iv
1 功能描述 .............................................................................................................................................. 1
1.1 基本介绍 .......................................................................................................................................................... 1
1.2 约束与限制 ...................................................................................................................................................... 2
1.3 应用场景 .......................................................................................................................................................... 3
2 安装与部署 ........................................................................................................................................... 1
2.1 搭建 Kubernetes 集群 ..................................................................................................................................... 1
2.2 安装 K8sCSIPlugin 插件 .................................................................................................................................. 1
2.3 升级 K8sCSIPlugin 插件 .................................................................................................................................. 7
2.4 sidecar 镜像版本兼容性说明 .......................................................................................................................... 8
2.5 feature-gates 兼容性说明 .............................................................................................................................. 9
3 功能配置与管理 .................................................................................................................................. 11
3.1 配置网络 ........................................................................................................................................................ 11
3.2 启用多路径 .................................................................................................................................................... 12
3.3 K8sCSIPlugin 插件存储配置文件说明 .......................................................................................................... 13
4 在Kubernetes 中使用存储 ................................................................................................................. 18
4.1 对接单套存储创建卷及 POD ......................................................................................................................... 18
4.2 对接多套存储 ................................................................................................................................................. 22
4.3 通过 PVC 创建快照 ........................................................................................................................................ 23
4.4 通过 PVC 克隆 PVC ........................................................................................................................................ 25
4.5 通过快照克隆 PVC ......................................................................................................................................... 27
4.6 离线扩容 ........................................................................................................................................................ 28
4.7 在线扩容 ........................................................................................................................................................ 32
4.8 storageclass 配置文件及参数说明 .............................................................................................................. 32
5 故障分析与解决 .................................................................................................................................. 35
6 附录 ................................................................................................................................................... 36
6.1 参考资料 ........................................................................................................................................................ 36
6.2 扩容双活卷 .................................................................................................................................................... 36
6.3 缩略语 ............................................................................................................................................................ 38