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.10.2.2. 创建用于直接镜像迁移的 registry 路由
要直接镜像迁移,您必须在所有远程集群中创建到公开的内部 registry 的路由。
先决条件
内部 registry 必须公开给所有远程集群上的外部流量。
OpenShift Container Platform 4 registry 默认公开。
流程
要创建到 OpenShift Container Platform 4 registry 的路由,请运行以下命令:
oc create route passthrough --service=image-registry -n openshift-image-registry
$ oc create route passthrough --service=image-registry -n openshift-image-registry
Copy to Clipboard Copied! Toggle word wrap Toggle overflow