ClusterV2Props
Properties for defining a ClusterV2
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ehpc-clusterv2
Initializer
import { ClusterV2Props } from '@alicloud/ros-cdk-ehpc'
const clusterV2Props: ClusterV2Props = { ... }
Properties
Name | Type | Description |
---|---|---|
clusterName |
string | @alicloud/ros-cdk-core.IResolvable |
Property clusterName: Cluster name. |
sharedStorages |
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | SharedStoragesProperty[] |
Property sharedStorages: The list of shared storage configurations. |
vpcId |
string | @alicloud/ros-cdk-core.IResolvable |
Property vpcId: The ID of the VPC used by the cluster. |
vSwitchId |
string | @alicloud/ros-cdk-core.IResolvable |
Property vSwitchId: The ID of the VSwitch used by the cluster. |
additionalPackages |
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | AdditionalPackagesProperty[] |
Property additionalPackages: A list of software to install on the cluster. |
addons |
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | AddonsProperty[] |
Property addons: Cluster custom service component configuration to support only one component. |
clientVersion |
string | @alicloud/ros-cdk-core.IResolvable |
Property clientVersion: Cluster client version. |
clusterCategory |
string | @alicloud/ros-cdk-core.IResolvable |
Property clusterCategory: Cluster series. |
clusterCredentials |
@alicloud/ros-cdk-core.IResolvable | ClusterCredentialsProperty |
Property clusterCredentials: Security credentials for the cluster. |
clusterCustomConfiguration |
@alicloud/ros-cdk-core.IResolvable | ClusterCustomConfigurationProperty |
Property clusterCustomConfiguration: Cluster post-processing scripts. |
clusterDescription |
string | @alicloud/ros-cdk-core.IResolvable |
Property clusterDescription: Cluster description. |
clusterMode |
string | @alicloud/ros-cdk-core.IResolvable |
Property clusterMode: Cluster deployment type. |
deletionProtection |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property deletionProtection: The cluster deletion protection property, which specifies whether cluster deletion via the console or the DeleteCluster API is supported. |
isEnterpriseSecurityGroup |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property isEnterpriseSecurityGroup: Whether to create an enterprise security group. |
manager |
@alicloud/ros-cdk-core.IResolvable | ManagerProperty |
Property manager: The cluster manages node configuration. |
maxCoreCount |
number | @alicloud/ros-cdk-core.IResolvable |
Property maxCoreCount: Total number of cores that the cluster can manage on compute nodes, ranging from 0 to 100,000. |
maxCount |
number | @alicloud/ros-cdk-core.IResolvable |
Property maxCount: Number of compute nodes that can be managed by the cluster, ranging from 0 to 5,000. |
queues |
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | QueuesProperty[] |
Property queues: Cluster queue configuration. |
resourceGroupId |
string | @alicloud/ros-cdk-core.IResolvable |
Property resourceGroupId: The ID of the resource group. |
securityGroupId |
string | @alicloud/ros-cdk-core.IResolvable |
Property securityGroupId: Specifies the security group ID to which the newly created cluster belongs. |
tags |
TagsProperty[] |
Property tags: Tags to attach to cluster_v2. |
clusterName
Required
public readonly clusterName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property clusterName: Cluster name.
The length is from 2 to 128 characters, and it supports English, Chinese and numbers. You can include a dash (-) and an underscore (_).
sharedStorages
Required
public readonly sharedStorages: IResolvable | IResolvable | SharedStoragesProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | SharedStoragesProperty[]
Property sharedStorages: The list of shared storage configurations.
vpcId
Required
public readonly vpcId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vpcId: The ID of the VPC used by the cluster.
vSwitchId
Required
public readonly vSwitchId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vSwitchId: The ID of the VSwitch used by the cluster.
additionalPackages
Optional
public readonly additionalPackages: IResolvable | IResolvable | AdditionalPackagesProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | AdditionalPackagesProperty[]
Property additionalPackages: A list of software to install on the cluster.
Range from 0 to 10.
addons
Optional
public readonly addons: IResolvable | IResolvable | AddonsProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | AddonsProperty[]
Property addons: Cluster custom service component configuration to support only one component.
clientVersion
Optional
public readonly clientVersion: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property clientVersion: Cluster client version.
By default, the latest version is used.
clusterCategory
Optional
public readonly clusterCategory: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property clusterCategory: Cluster series.
Valid values: - Standard: The standard version. - Serverless: Hosted version
clusterCredentials
Optional
public readonly clusterCredentials: IResolvable | ClusterCredentialsProperty;
- Type: @alicloud/ros-cdk-core.IResolvable | ClusterCredentialsProperty
Property clusterCredentials: Security credentials for the cluster.
clusterCustomConfiguration
Optional
public readonly clusterCustomConfiguration: IResolvable | ClusterCustomConfigurationProperty;
- Type: @alicloud/ros-cdk-core.IResolvable | ClusterCustomConfigurationProperty
Property clusterCustomConfiguration: Cluster post-processing scripts.
clusterDescription
Optional
public readonly clusterDescription: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property clusterDescription: Cluster description.
The length is from 2 to 128 characters, and it supports English, Chinese and numbers. You can include a dash (-) and an underscore (_).
clusterMode
Optional
public readonly clusterMode: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property clusterMode: Cluster deployment type.
Valid values: - Integrated: Public cloud clustering. - Hybrid: Hybrid cloud cluster. - Custom: The cluster is customized
deletionProtection
Optional
public readonly deletionProtection: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property deletionProtection: The cluster deletion protection property, which specifies whether cluster deletion via the console or the DeleteCluster API is supported.
true: Cluster deletion protection is enabled. - false: This turns off cluster deletion protection. Default value: false
isEnterpriseSecurityGroup
Optional
public readonly isEnterpriseSecurityGroup: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property isEnterpriseSecurityGroup: Whether to create an enterprise security group.
Valid values: - true: Enterprise security groups are automatically created and used. - false: Normal security groups are automatically created and used instead of enterprise security groups.
manager
Optional
public readonly manager: IResolvable | ManagerProperty;
- Type: @alicloud/ros-cdk-core.IResolvable | ManagerProperty
Property manager: The cluster manages node configuration.
maxCoreCount
Optional
public readonly maxCoreCount: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property maxCoreCount: Total number of cores that the cluster can manage on compute nodes, ranging from 0 to 100,000.
maxCount
Optional
public readonly maxCount: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property maxCount: Number of compute nodes that can be managed by the cluster, ranging from 0 to 5,000.
queues
Optional
public readonly queues: IResolvable | IResolvable | QueuesProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | QueuesProperty[]
Property queues: Cluster queue configuration.
The number of queues is supported from 0 to 8.
resourceGroupId
Optional
public readonly resourceGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property resourceGroupId: The ID of the resource group.
securityGroupId
Optional
public readonly securityGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property securityGroupId: Specifies the security group ID to which the newly created cluster belongs.
tags
Optional
public readonly tags: TagsProperty[];
- Type: TagsProperty[]
Property tags: Tags to attach to cluster_v2.
Max support 20 tags to add during create cluster_v2. Each tag with two properties Key and Value, and Key is required.