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.11.5. 迁移控制器选项
您可以编辑迁移计划限制,启用持久性卷大小,或者在 MigrationController
自定义资源 (CR) 中启用缓存的 Kubernetes 客户端,以用于大型迁移并提高性能。
11.5.1. 为大型迁移增加限制 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
您可以使用 MTC 为大型迁移增加迁移对象和容器资源的限制。
重要
您必须在生产环境中执行迁移前测试这些更改。
流程
编辑
MigrationController
自定义资源(CR)清单:oc edit migrationcontroller -n openshift-migration
$ oc edit migrationcontroller -n openshift-migration
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 更新以下参数:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 创建使用更新的参数验证更改的迁移计划。
如果您的迁移计划超过
MigrationController
CR 限制,则 MTC 控制台在保存迁移计划时会显示警告信息。