第 12 章 高级迁移选项
12.1. 为 warm 迁移更改预复制间隔
您可以通过修补 ForkliftController
自定义资源(CR)来更改快照间隔。
流程
对
ForkliftController
CR 进行补丁:Copy to Clipboard Copied! Toggle word wrap Toggle overflow oc patch forkliftcontroller/<forklift-controller> -n openshift-mtv -p '{"spec": {"controller_precopy_interval": <60>}}' --type=merge
$ oc patch forkliftcontroller/<forklift-controller> -n openshift-mtv -p '{"spec": {"controller_precopy_interval": <60>}}' --type=merge
1 - 1
- 以分钟为单位指定 precopy 间隔。默认值为
60
。
您不需要重启
forklift-controller
pod。