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.3.3. 配置代理
先决条件
- 
								必须使用在所有集群中具有 cluster-admin权限的用户登录。
流程
- 获取 - MigrationControllerCR 清单:- oc get migrationcontroller <migration_controller> -n openshift-migration - $ oc get migrationcontroller <migration_controller> -n openshift-migration- Copy to Clipboard Copied! - Toggle word wrap Toggle overflow 
- 更新代理参数: - Copy to Clipboard Copied! - Toggle word wrap Toggle overflow - 在域前面加上 - .以仅匹配子域。例如:- .y.com匹配- x.y.com,但不匹配- y.com。使用- *可对所有目的地绕过所有代理。如果您扩展了未包含在安装配置中- networking.machineNetwork[].cidr字段定义的 worker,您必须将它们添加到此列表中,以防止连接问题。- 如果未设置 - httpProxy和- httpsProxy字段,则此字段将被忽略。
- 
								将清单保存为 migration-controller.yaml。
- 应用更新的清单: - oc replace -f migration-controller.yaml -n openshift-migration - $ oc replace -f migration-controller.yaml -n openshift-migration- Copy to Clipboard Copied! - Toggle word wrap Toggle overflow