15.5. Coe 集群创建
创建集群
使用方法:
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>
值 | 概述 |
---|---|
<name> | 要创建的集群的名称。 |
值 | 概述 |
---|---|
-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。 |