搜索

15.5. Coe 集群创建

download PDF

创建集群

使用方法:

openstack coe cluster create [-h] --cluster-template <cluster-template>
                                    [--discovery-url <discovery-url>]
                                    [--docker-volume-size <docker-volume-size>]
                                    [--labels <KEY1=VALUE1,KEY2=VALUE2;KEY3=VALUE3...>]
                                    [--keypair <keypair>]
                                    [--master-count <master-count>]
                                    [--node-count <node-count>]
                                    [--timeout <timeout>]
                                    [--master-flavor <master-flavor>]
                                    [--flavor <flavor>]
                                    [--fixed-network <fixed-network>]
                                    [--fixed-subnet <fixed-subnet>]
                                    [--floating-ip-enabled]
                                    [--floating-ip-disabled] [--merge-labels]
                                    [--master-lb-enabled]
                                    <name>

表 15.9. positional 参数
概述

<name>

要创建的集群的名称。

表 15.10. 命令参数
概述

-h, --help

显示帮助信息并退出

--cluster-template <cluster-template>

集群模板的 ID 或名称。

--discovery-url <discovery-url>

指定用于节点发现的自定义交付 url。

--docker-volume-size <docker-volume-size>

要使用的 docker 卷的大小(以 gb 为单位)。

--labels <KEY1=VALUE1,KEY2=VALUE2;KEY3=VALUE3…​>

要与集群模板关联的 key=value 对形式的任意标签。可以多次使用。

--keypair <keypair>

要使用的密钥对的 UUID 或名称。

--master-count <master-count>

集群的 master 节点数量。

--node-count <node-count>

集群节点数。

--timeout <timeout>

集群创建时间的超时时间。默认为 60 分钟。

--master-flavor <master-flavor>

启动集群的主节点时要使用的 nova 类别名称或 uuid。

--flavor <flavor>

启动群集时要使用的 nova 类别名称或 uuid。

--fixed-network <fixed-network>

用于连接到此 Cluster 模板的专用 neutron 网络名称。

--fixed-subnet <fixed-subnet>

用于连接到集群的私有 neutron 子网名称。

--floating-ip-enabled

指明创建的集群是否应该具有浮动 IP。

--floating-ip-disabled

在新集群中禁用浮动 IP 创建

--merge-labels

提供的标签将与指定集群模板中配置的标签合并。

--master-lb-enabled

指明创建的集群是否应该为 API 有 loadbalancer。

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.