--cluster-template \ The ID or name of the ClusterTemplate to use.
--name \ Name of the cluster to create.
--keypair \ The name or UUID of the SSH keypair to configure in the cluster servers for ssh access.
--node-count \ The number of servers that will serve as node in the cluster.
--master-count \ The number of servers that will serve as master for the cluster.
--discovery-url \ The custom discovery url for node discovery.
--timeout \ The timeout for cluster creation in minutes.
<cluster> \ This is the first parameter, specifying the UUID or name of the cluster to update.
<op> \ This is the second parameter, specifying the desired change to be made to the cluster attributes. The allowed changes are 'add', 'replace' and 'remove'.
<attribute=value> \ This is the third parameter, specifying the targeted attributes in the cluster as a list separated by blank space.
更新某个cluster
magnum cluster-update mycluster replace node_count=8
说明:把mycluster中的node节点设置为8
cluster-template-create
--coe \ Specify the Container Orchestration Engine to use. Supported COE's include 'kubernetes', 'swarm', 'mesos'.
--image \ The name or UUID of the base image in Glance to boot the servers for the cluster.
--keypair \ The name or UUID of the SSH keypair to configure in the cluster servers for ssh access.
--external-network \ The name or network ID of a Neutron network to provide connectivity to the external internet for the cluster.
--name \ Name of the ClusterTemplate to create.
--public \ Access to a ClusterTemplate is normally limited to the admin, owner or users within the same tenant as the owners.
--server-type \ The servers in the cluster can be VM or baremetal.
--volume-driver \ The name of a volume driver for managing the persistent storage for the containers.
--dns-nameserver \ The DNS nameserver for the servers and containers in the cluster to use.
--flavor \ The nova flavor id for booting the node servers.
--master-flavor \ The nova flavor id for booting the master or manager servers.
--http-proxy /--https-proxy \ The IP address for a proxy to use when direct http/https access from the servers to sites on the external internet is blocked.
--no-proxy \ When a proxy server is used, some sites should not go through the proxy and should be accessed normally.
--docker-volume-size \ If specified, container images will be stored in a cinder volume of the specified size in GB.
--docker-storage-driver \ The name of a driver to manage the storage for the images and the container's writable layer.
--labels \ Arbitrary labels in the form of key=value pairs.
--tls-disabled \ Transport Layer Security (TLS) is normally enabled to secure the cluster.
--registry-enabled \ Docker images by default are pulled from the public Docker registry, but in some cases, users may want to use a private registry.
--master-lb-enabled \ Since multiple masters may exist in a bay, a load balancer is created to provide the API endpoint for the bay and to direct requests to the masters.