Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CCE cluster docs #89

Merged
merged 2 commits into from
Feb 22, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 23 additions & 8 deletions website/docs/r/cce_cluster_v3.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,29 +39,44 @@ The following arguments are supported:

* `annotations` - (Optional) Cluster annotation, key/value pair format. Changing this parameter will create a new cluster resource.

* `flavor_id` - (Required) Cluster specifications. Changing this parameter will create a new cluster resource.
* `flavor_id` - (Required) Cluster specifications. Changing this parameter will create a new cluster resource. Possible values:

* `cce.s1.small` - small-scale single cluster (up to 50 nodes).
* `cce.s1.medium` - medium-scale single cluster (up to 200 nodes).
* `cce.s1.large` - large-scale single cluster (up to 1000 nodes).
* `cce.s2.small` - small-scale HA cluster (up to 50 nodes).
* `cce.s2.medium` - medium-scale HA cluster (up to 200 nodes).
* `cce.s2.large` - large-scale HA cluster (up to 1000 nodes).
* `cce.t1.small` - small-scale single physical machine cluster (up to 10 nodes).
* `cce.t1.medium` - medium-scale single physical machine cluster (up to 100 nodes).
* `cce.t1.large` - large-scale single physical machine cluster (up to 500 nodes).
* `cce.t2.small` - small-scale HA physical machine cluster (up to 10 nodes).
* `cce.t2.medium` - medium-scale HA physical machine cluster (up to 100 nodes).
* `cce.t2.large` - large-scale HA physical machine cluster (up to 500 nodes).

* `cluster_version` - (Optional) For the cluster version, possible values are v1.7.3-r10 or v1.9.2-r1.

* `cluster_type` - (Required) Cluster Type, Changing this parameter will create a new cluster resource.
* `cluster_type` - (Required) Cluster Type, possible values are VirtualMachine and BareMetal. Changing this parameter will create a new cluster resource.

* `description` - (Optional) Cluster description.

* `billing_mode` - (Optional) Charging mode of the cluster, which is 0 (on demand). Changing this parameter will create a new cluster resource.

* `extend_param` - (Optional) Extended parameter. Changing this parameter will create a new cluster resource.

**hostNetwok - (Required)** Node network parameters
* `vpc_id` - (Required) The ID of the VPC used to create the node. Changing this parameter will create a new cluster resource.

* `vpc_id` - (Required) The ID of the VPC used to create the node. Changing this parameter will create a new cluster resource.
* `subnet_id` - (Required) The ID of the subnet used to create the node. Changing this parameter will create a new cluster resource.

* `subnet_id` - (Required) The ID of the subnet used to create the node. Changing this parameter will create a new cluster resource.
* `highway_subnet_id` - (Optional) The ID of the high speed network used to create bare metal nodes. Changing this parameter will create a new cluster resource.

* `highway_subnet_id` - (Optional) The ID of the high speed network used to create bare metal nodes. Changing this parameter will create a new cluster resource.
* `container_network_type` - (Required) Container network parameters. Possible values:

**container_network_type** **- (Required)** Container network parameters.
* `overlay_l2` - An overlay_l2 network built for containers by using Open vSwitch(OVS)
* `underlay_ipvlan` - An underlay_ipvlan network built for bare metal servers by using ipvlan.
* `vpc-router` - An vpc-router network built for containers by using ipvlan and custom VPC routes.

* `container_network_cidr` - (Optional) Container network segment. Changing this parameter will create a new cluster resource.
* `container_network_cidr` - (Optional) Container network segment. Changing this parameter will create a new cluster resource.

## Attributes Reference

Expand Down