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.7.18.5.2. 全局启用预分配
您可以通过在 CDI 对象中添加 preallocation 字段来为 Containerized Data Importer(CDI)启用集群范围的预分配模式。
先决条件
-
安装 OpenShift 客户端(
oc)。
流程
使用
oc客户端编辑CDI对象:oc edit cdi
$ oc edit cdiCopy to Clipboard Copied! Toggle word wrap Toggle overflow 将
spec.config.preallocation字段设置为true:Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 1
preallocation字段是一个布尔值,默认值为 false。
-
保存并退出编辑器以更新
CDI对象并启用预分配模式。