Skip to content

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.

clusterNameRequired

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 (_).


sharedStoragesRequired

public readonly sharedStorages: IResolvable | IResolvable | SharedStoragesProperty[];

Property sharedStorages: The list of shared storage configurations.


vpcIdRequired

public readonly vpcId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property vpcId: The ID of the VPC used by the cluster.


vSwitchIdRequired

public readonly vSwitchId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property vSwitchId: The ID of the VSwitch used by the cluster.


additionalPackagesOptional

public readonly additionalPackages: IResolvable | IResolvable | AdditionalPackagesProperty[];

Property additionalPackages: A list of software to install on the cluster.

Range from 0 to 10.


addonsOptional

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.


clientVersionOptional

public readonly clientVersion: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property clientVersion: Cluster client version.

By default, the latest version is used.


clusterCategoryOptional

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


clusterCredentialsOptional

public readonly clusterCredentials: IResolvable | ClusterCredentialsProperty;

Property clusterCredentials: Security credentials for the cluster.


clusterCustomConfigurationOptional

public readonly clusterCustomConfiguration: IResolvable | ClusterCustomConfigurationProperty;

Property clusterCustomConfiguration: Cluster post-processing scripts.


clusterDescriptionOptional

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 (_).


clusterModeOptional

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


deletionProtectionOptional

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


isEnterpriseSecurityGroupOptional

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.


managerOptional

public readonly manager: IResolvable | ManagerProperty;

Property manager: The cluster manages node configuration.


maxCoreCountOptional

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.


maxCountOptional

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.


queuesOptional

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.


resourceGroupIdOptional

public readonly resourceGroupId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property resourceGroupId: The ID of the resource group.


securityGroupIdOptional

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.


tagsOptional

public readonly tags: 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.