ClusterProps
Properties for defining a Cluster
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-edas-cluster
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkedas"
&alicloudroscdkedas.ClusterProps {
ClusterName: interface{},
ClusterType: interface{},
NetworkMode: interface{},
LogicalRegionId: interface{},
OversoldFactor: interface{},
ResourceGroupId: interface{},
VpcId: interface{},
}
Properties
Name | Type | Description |
---|---|---|
ClusterName |
interface{} |
Property clusterName: Cluster name. |
ClusterType |
interface{} |
Property clusterType: Cluster type. |
NetworkMode |
interface{} |
Property networkMode: Network Type. |
LogicalRegionId |
interface{} |
Property logicalRegionId: Custom namespace RegionId (format: Physical Region: custom namespace identifier). |
OversoldFactor |
interface{} |
Property oversoldFactor: Docker CPU cluster oversold. |
ResourceGroupId |
interface{} |
Property resourceGroupId: Resource group id. |
VpcId |
interface{} |
Property vpcId: VPC network ID. |
ClusterName
Required
ClusterName interface{}
- Type: interface{}
Property clusterName: Cluster name.
ClusterType
Required
ClusterType interface{}
- Type: interface{}
Property clusterType: Cluster type.
1-Swarm cluster, 2-ECS cluster, 3-Kubernetes Cluster
NetworkMode
Required
NetworkMode interface{}
- Type: interface{}
Property networkMode: Network Type.
1- classic network, 2-VPC
LogicalRegionId
Optional
LogicalRegionId interface{}
- Type: interface{}
Property logicalRegionId: Custom namespace RegionId (format: Physical Region: custom namespace identifier).
OversoldFactor
Optional
OversoldFactor interface{}
- Type: interface{}
Property oversoldFactor: Docker CPU cluster oversold.
Support 2 (1: 2 ratio) / 4 (1: 4) / 8 (1: 8 ratio)
ResourceGroupId
Optional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: Resource group id.
VpcId
Optional
VpcId interface{}
- Type: interface{}
Property vpcId: VPC network ID.
If network selection VPC, this parameter Required