Skip to main content

lingjun cluster

Manage Lingjun cluster resources

Run ecctl lingjun cluster <action> -h for usage, or ecctl schema lingjun.cluster.<action> --full for the complete, agent-readable spec of every parameter and behavior.

create

ecctl lingjun cluster create [flags]

Create a Lingjun cluster

  • Kind: mutation · Risk: medium
  • Synchronous: waits for running (waiter ready_after_change, timeout 1800s); use --no-wait to skip.
APIWhen calledPurpose
CreateClusterEvery time the command runs.Perform the resource operation.
DescribeClusterWhen --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
DescribeClusterWhen --no-wait is not specified.Return the final resource view. (cached; no additional request)
ParameterTypeRequiredDescription
--namestringLingjun cluster name
--regionstringAlibaba Cloud region
--cluster-typestringLingjun cluster type
--componentsstringComponents JSON array matching the Lingjun API shape
--descriptionstringLingjun cluster description
--hpn-zonestringCluster HPN zone
--ignore-failed-node-tasksbooleanSkip failed node tasks when the API supports it
--networksstringNetwork JSON object matching the Lingjun API shape
--nimiz-vswitchesstringNIMIZ VSwitches JSON array
--node-groupsstringNode groups JSON array matching the Lingjun API shape
--open-eni-jumbo-framebooleanEnable ENI jumbo frames
--resource-groupstringResource group ID
--tagkey_valueTag assignment key=value

update

ecctl lingjun cluster update <id> [flags]

Extend or shrink a Lingjun cluster

  • Kind: mutation · Risk: medium
  • Synchronous: waits for running (waiter ready_after_change, timeout 1800s); use --no-wait to skip.
APIWhen calledPurpose
ExtendClusterWhen --extend is specified.Perform the resource operation.
DescribeClusterWhen --extend is specified and --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
ShrinkClusterWhen --shrink is specified.Perform the resource operation.
DescribeClusterWhen --shrink is specified and --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
DescribeClusterWhen --no-wait is not specified.Read the resource view.
ParameterTypeRequiredDescription
--regionstringAlibaba Cloud region
--extendstringNode groups JSON array for cluster scale-out
--ignore-failed-node-tasksbooleanSkip failed node tasks when the API supports it
--ip-allocation-policystringIP allocation policy JSON array for scale-out
--shrinkstringNode groups JSON array for cluster scale-in
--vpd-subnetsstringVPD subnet IDs JSON array for scale-out
--vswitch-zonestringVSwitch zone ID for scale-out

delete

ecctl lingjun cluster delete <id> [flags]

Delete a Lingjun cluster

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

get

ecctl lingjun cluster get <id> [flags]

Get a Lingjun cluster

  • Kind: read · Risk: low
APIWhen calledPurpose
DescribeClusterEvery time the command runs.Read the resource view.
ListClusterNodesWhen --with-nodes is specified.Read the resource view.
ListClusterHyperNodesWhen --with-hyper-nodes is specified.Read the resource view.
ParameterTypeRequiredDescription
--regionstringAlibaba Cloud region
--fieldsstringcomma-separated resource fields to include
--limitintegerMaximum resources to return (default: 100)
--next-tokenstringNext page token
--resource-groupstringResource group ID
--with-hyper-nodesbooleanInclude cluster hyper nodes in get output
--with-nodesbooleanInclude cluster nodes in get output

list

ecctl lingjun cluster list [flags]

List Lingjun clusters

  • Kind: read · Risk: low
APIWhen calledPurpose
ListClustersEvery time the command runs.Read the resource view.
ParameterTypeRequiredDescription
--regionstringAlibaba Cloud region
--fieldsstringcomma-separated resource fields to include
--filterkey_valueFilter expression key=value
--limitintegerMaximum resources to return (default: 100)
--next-tokenstringNext page token