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.3.15. 生成清单文件
使用安装程序在 asset 目录中生成一组清单文件。
生成清单文件的命令在消耗 install-config.yaml
文件前会显示警告消息。
如果您计划重复使用 install-config.yaml
文件,请在生成清单文件前生成备份副本。
流程
可选:创建
install-config.yaml
文件的备份副本:cp install-config.yaml install-config.yaml.backup
$ cp install-config.yaml install-config.yaml.backup
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 在资产目录中生成一组清单:
openshift-install create manifests --dir $ASSETS_DIR
$ openshift-install create manifests --dir $ASSETS_DIR
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 该命令显示以下信息。
输出示例
INFO Consuming Install Config from target directory WARNING Making control-plane schedulable by setting MastersSchedulable to true for Scheduler cluster settings
INFO Consuming Install Config from target directory WARNING Making control-plane schedulable by setting MastersSchedulable to true for Scheduler cluster settings
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 该命令生成以下清单文件:
输出示例
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
后续步骤
- 使 control-plane 节点不可调度。