集群拓扑文件初始化 #
- 导出集群拓扑配置文件
- 执行下面命令在当前目录下生成名为 cluster-template.yaml 的集群拓扑文件模板。根据集群拓扑说明,配置自己实际配置数据。
$ spex config template --type full --output ./
- 初始化集群拓扑配置文件和内容,可以使用
spex cluster init
命令。
$ spex config template --type full --output ./
spex cluster init
命令。