You can change the snapshot interval by patching the ForkliftController
custom resource (CR).
Procedure
-
Patch the
ForkliftController
CR:$ {oc} patch forkliftcontroller/<forklift-controller> -n {namespace} -p '{"spec": {"controller_precopy_interval": <60>}}' --type=merge (1)
-
Specify the precopy interval in minutes. The default value is
60
.You do not need to restart the
forklift-controller
pod.
-