Skip to main content

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
APIWhen calledPurpose
CreateNodeGroupEvery time the command runs.Perform the resource operation.
DescribeNodeGroupEvery time the command runs.Read the resource view.
ParameterTypeRequiredDescription
--clusterstringparent cluster ID
--namestringnode group name
--node-groupstringnode group configuration JSON object matching the CreateNodeGroup NodeGroup body shape (e.g. {"NodeGroupName":"...","Az":"...","MachineType":"...","ImageId":"...",...}); pass inline JSON or @file path
--regionstringAlibaba Cloud region
--node-unitstringnode 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
APIWhen calledPurpose
UpdateNodeGroupEvery time the command runs.Perform the resource operation.
DescribeNodeGroupEvery time the command runs.Read the resource view.
ParameterTypeRequiredDescription
--regionstringAlibaba Cloud region
--file-system-mount-enabledbooleanenable file system mount
--imagestringimage ID
--key-pairstringkey pair name
--login-passwordstringlogin password (sensitive: prefer --key-pair; inject via @file or environment variable to avoid leaking through shell history)
--namestringnode group name
--ram-rolestringRAM role name
--user-datastringuser data script

delete

ecctl lingjun node-group delete <id> [flags]

Delete Lingjun node group

  • Kind: mutation · Risk: high
  • Synchronous: waits for absent (waiter deleted_after_delete, timeout 600s); use --no-wait to skip.
APIWhen calledPurpose
DeleteNodeGroupEvery time the command runs.Perform the resource operation.
DescribeNodeGroupWhen --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
ParameterTypeRequiredDescription
--regionstringAlibaba Cloud region
--clusterstringparent cluster ID

get

ecctl lingjun node-group get <id> [flags]

Get Lingjun node group details

  • Kind: read · Risk: low
APIWhen calledPurpose
DescribeNodeGroupEvery time the command runs.Read the resource view.
ParameterTypeRequiredDescription
--regionstringAlibaba Cloud region
--fieldsstringcomma-separated resource fields to include

list

ecctl lingjun node-group list [flags]

List Lingjun node groups

  • Kind: read · Risk: low
APIWhen calledPurpose
ListNodeGroupsEvery time the command runs.Read the resource view.
ParameterTypeRequiredDescription
--regionstringAlibaba Cloud region
--clusterstringparent cluster ID
--fieldsstringcomma-separated resource fields to include
--filterkey_valuefilter expression key=value
--limitintegermaximum resources to return (default: 100)
--next-tokenstringtoken for the next result page