Create a node group in a cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eflo:CreateNodeGroup |
create |
*Cluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| NodeGroup |
object |
Yes |
The node group configurations. |
|
| Az |
string |
Yes |
The availability zone of the node group. |
cn-wulanchabu-b |
| NodeGroupDescription |
string |
No |
The description of the node group. |
节点分组描述 |
| NodeGroupName |
string |
Yes |
The name of the node group. |
PAI-LINGJUN |
| MachineType |
string |
Yes |
The machine type for the nodes in the node group. |
mock-machine-type3 |
| ImageId |
string |
Yes |
The image ID for the nodes. |
i191887641687336652616 |
| UserData |
string |
No |
The user data for the nodes. |
#!/bin/bash uptime echo "aaaaaaa" >> /tmp/ttttt20250110141010.sh |
| SystemDisk |
object |
No |
The system disk configurations for the nodes. |
|
| Size |
integer |
No |
The size of the system disk, in GB. |
1000 |
| PerformanceLevel |
string |
No |
The performance level of the ESSD. Valid values:
|
PL1 |
| Category |
string |
No |
The disk type of the system disk. Valid values:
|
clou_essd |
| FileSystemMountEnabled |
boolean |
No |
Whether to enable file storage mounting. |
false |
| VirtualGpuEnabled |
boolean |
No |
Whether to enable GPU virtualization. |
false |
| KeyPairName |
string |
No |
The name of the key pair for SSH logon. |
test-keypair |
| LoginPassword |
string |
No |
The login password for the nodes. |
test-LoginPassword |
| RamRoleName |
string |
No |
||
| ClusterId |
string |
Yes |
The ID of the cluster that contains the node group. |
i118191731740041623425 |
| NodeUnit |
object |
No |
The configuration of the node. |
{\"NodeUnitId\":\"3c2999a8-2b95-4409-93c5-ad3985fc5c9f\",\"ResourceGroupId\":\"\",\"MaxNodes\":0,\"NodeUnitName\":\"asi_cn-serverless-sale_e01-lingjun-psale\"} |
|
any |
No |
The node information. |
{\"NodeUnitId\":\"3c2999a8-2b95-4409-93c5-ad3985fc5c9f\",\"ResourceGroupId\":\"\",\"MaxNodes\":0,\"NodeUnitName\":\"asi_cn-serverless-sale_e01-lingjun-psale\"} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
887FA855-89F4-5DB3-B305-C5879EC480E6 |
| NodeGroupId |
string |
The node group ID. |
ng-ec3c96ff0aa4c60d |
| NodeGroupName |
string |
The node group name. |
emr-default |
Examples
Success response
JSON format
{
"RequestId": "887FA855-89F4-5DB3-B305-C5879EC480E6",
"NodeGroupId": "ng-ec3c96ff0aa4c60d",
"NodeGroupName": "emr-default"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.