lingjun node-group
Manage Lingjun node group resources
Run ecctl lingjun node-group <action> -h for usage, or ecctl schema lingjun.node-group.<action> --full for the complete, agent-readable spec of every parameter and behavior.
create
ecctl lingjun node-group create [flags]
Create Lingjun node group
- Kind:
mutation· Risk: medium
| API | When called | Purpose |
|---|---|---|
CreateNodeGroup | Every time the command runs. | Perform the resource operation. |
DescribeNodeGroup | Every time the command runs. | Read the resource view. |
| Parameter | Type | Required | Description |
|---|---|---|---|
--cluster | string | ✓ | parent cluster ID |
--name | string | ✓ | node group name |
--node-group | string | ✓ | node group configuration JSON object matching the CreateNodeGroup NodeGroup body shape (e.g. {"NodeGroupName":"...","Az":"...","MachineType":"...","ImageId":"...",...}); pass inline JSON or @file path |
--region | string | ✓ | Alibaba Cloud region |
--node-unit | string | node unit configuration JSON object matching the CreateNodeGroup NodeUnit body shape (e.g. {"NodeUnitId":"...","NodeUnitName":"...","ResourceGroupId":"...","MaxNodes":...}); pass inline JSON or @file path |
update
ecctl lingjun node-group update <id> [flags]
Update Lingjun node group
- Kind:
mutation· Risk: medium
| API | When called | Purpose |
|---|---|---|
UpdateNodeGroup | Every time the command runs. | Perform the resource operation. |
DescribeNodeGroup | Every time the command runs. | Read the resource view. |
| Parameter | Type | Required | Description |
|---|---|---|---|
--region | string | ✓ | Alibaba Cloud region |
--file-system-mount-enabled | boolean | enable file system mount | |
--image | string | image ID | |
--key-pair | string | key pair name | |
--login-password | string | login password (sensitive: prefer --key-pair; inject via @file or environment variable to avoid leaking through shell history) | |
--name | string | node group name | |
--ram-role | string | RAM role name | |
--user-data | string | user data script |
delete
ecctl lingjun node-group delete <id> [flags]
Delete Lingjun node group
- Kind:
mutation· Risk: high - Synchronous: waits for
absent(waiterdeleted_after_delete, timeout600s); use--no-waitto skip.
| API | When called | Purpose |
|---|---|---|
DeleteNodeGroup | Every time the command runs. | Perform the resource operation. |
DescribeNodeGroup | When --no-wait is not specified. | Poll until the resource reaches the target state. (repeated) |
| Parameter | Type | Required | Description |
|---|---|---|---|
--region | string | ✓ | Alibaba Cloud region |
--cluster | string | parent cluster ID |
get
ecctl lingjun node-group get <id> [flags]
Get Lingjun node group details
- Kind:
read· Risk: low
| API | When called | Purpose |
|---|---|---|
DescribeNodeGroup | Every time the command runs. | Read the resource view. |
| Parameter | Type | Required | Description |
|---|---|---|---|
--region | string | ✓ | Alibaba Cloud region |
--fields | string | comma-separated resource fields to include |
list
ecctl lingjun node-group list [flags]
List Lingjun node groups
- Kind:
read· Risk: low
| API | When called | Purpose |
|---|---|---|
ListNodeGroups | Every time the command runs. | Read the resource view. |
| Parameter | Type | Required | Description |
|---|---|---|---|
--region | string | ✓ | Alibaba Cloud region |
--cluster | string | parent cluster ID | |
--fields | string | comma-separated resource fields to include | |
--filter | key_value | filter expression key=value | |
--limit | integer | maximum resources to return (default: 100) | |
--next-token | string | token for the next result page |