Skip to main content

ack nodepool

Manage ACK nodepool resources

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

create

ecctl ack nodepool create [flags]

Create nodepool

  • Kind: mutation · Risk: medium
  • Synchronous: waits for active (waiter active_after_change, timeout 600s); use --no-wait to skip.
APIWhen calledPurpose
CreateClusterNodePoolWhen --config is specified.Perform the resource operation.
DescribeClusterNodePoolDetailWhen --config is specified and --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
CreateClusterNodePoolWhen --config is not specified.Perform the resource operation.
DescribeClusterNodePoolDetailWhen --config is not specified and --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
DescribeClusterNodePoolDetailWhen --no-wait is not specified.Read the resource view.
ParameterTypeRequiredDescription
--clusterstringACK cluster ID
--regionstringAlibaba Cloud region
--configobjectnodepool request body as a JSON object or @file
--desired-sizeintegerdesired node count for the nodepool
--instance-typestring_arrayECS instance types for the nodepool scaling group
--internet-max-bandwidth-outintegermaximum outbound public bandwidth in Mbit/s for nodepool instances
--namestringnodepool name
--runtimestringcontainer runtime for nodepool nodes
--runtime-versionstringcontainer runtime version for nodepool nodes
--system-disk-categorystringsystem disk category for nodepool instances
--system-disk-sizeintegersystem disk size in GiB for nodepool instances
--vswitchstring_arrayVSwitch IDs for the nodepool scaling group

update

ecctl ack nodepool update <id> [flags]

Update nodepool

  • Kind: mutation · Risk: medium
  • Synchronous: waits for success (waiter task_succeeded, timeout 3600s); use --no-wait to skip.
APIWhen calledPurpose
ModifyClusterNodePoolWhen --config is specified.Perform the resource operation.
DescribeTaskInfoWhen --config is specified and --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
ScaleClusterNodePoolWhen --desired-size is specified.Perform the resource operation.
DescribeTaskInfoWhen --desired-size is specified and --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
ModifyNodePoolNodeConfigWhen --with-node-config is specified.Perform the resource operation.
DescribeTaskInfoWhen --with-node-config is specified and --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
DescribeClusterNodePoolDetailWhen --no-wait is not specified.Read the resource view.
ParameterTypeRequiredDescription
--clusterstringACK cluster ID
--regionstringAlibaba Cloud region
--configobjectnodepool request body as a JSON object or @file
--desired-sizeintegerdesired node count for the nodepool
--node-configobjectnode-level configuration request body as a JSON object or @file
--with-node-configbooleanroute update to node-level configuration

delete

ecctl ack nodepool delete <id> [flags]

Delete nodepool

  • Kind: mutation · Risk: high
  • Synchronous: waits for success (waiter task_succeeded, timeout 3600s); use --no-wait to skip.
APIWhen calledPurpose
DeleteClusterNodepoolEvery time the command runs.Perform the resource operation.
DescribeTaskInfoWhen --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
DescribeClusterNodePoolsWhen --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
ParameterTypeRequiredDescription
--clusterstringACK cluster ID
--regionstringAlibaba Cloud region
--forcebooleanforce deletion semantics when supported by the API (default: false)

get

ecctl ack nodepool get <id> [flags]

Get nodepool

  • Kind: read · Risk: low
APIWhen calledPurpose
DescribeClusterNodePoolDetailEvery time the command runs.Read the resource view.
DescribeNodePoolVulsWhen --with-vuls is specified.Read the resource view.
ParameterTypeRequiredDescription
--clusterstringACK cluster ID
--regionstringAlibaba Cloud region
--fieldsstringcomma-separated resource fields to include
--necessitystringvulnerability necessity filter
--with-vulsbooleaninclude nodepool vulnerability details

list

ecctl ack nodepool list [flags]

List nodepools

  • Kind: read · Risk: low
APIWhen calledPurpose
DescribeClusterNodePoolsEvery time the command runs.Read the resource view.
ParameterTypeRequiredDescription
--clusterstringACK cluster ID
--regionstringAlibaba Cloud region
--fieldsstringcomma-separated resource fields to include
--namestringnodepool name

attach

ecctl ack nodepool attach <id> [flags]

Attach instances to nodepool

  • Kind: mutation · Risk: medium
  • Synchronous: waits for success (waiter task_succeeded, timeout 3600s); use --no-wait to skip.
APIWhen calledPurpose
AttachInstancesToNodePoolWhen --print-script-only is not specified.Perform the resource operation.
DescribeTaskInfoWhen --print-script-only is not specified and --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
DescribeClusterAttachScriptsWhen --print-script-only is specified.Read the resource view.
DescribeClusterNodePoolDetailWhen --no-wait is not specified and --print-script-only is not specified.Read the resource view.
ParameterTypeRequiredDescription
--clusterstringACK cluster ID
--regionstringAlibaba Cloud region
--configobjectnodepool request body as a JSON object or @file
--instancestring_arrayECS instance IDs
--print-script-onlybooleanprint the attach script without attaching instances

detach

ecctl ack nodepool detach <id> [flags]

Detach nodes from nodepool

  • Kind: mutation · Risk: medium
  • Synchronous: waits for success (waiter task_succeeded, timeout 3600s); use --no-wait to skip.
APIWhen calledPurpose
RemoveNodePoolNodesEvery time the command runs.Perform the resource operation.
DescribeTaskInfoWhen --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
DescribeClusterNodePoolDetailWhen --no-wait is not specified.Read the resource view.
ParameterTypeRequiredDescription
--clusterstringACK cluster ID
--regionstringAlibaba Cloud region
--concurrencybooleanremove nodes concurrently when supported
--drain-nodebooleandrain nodes before removing them
--forcebooleanforce deletion semantics when supported by the API (default: false)
--instancestring_arrayECS instance IDs
--nodestring_arrayKubernetes node names or IDs

repair

ecctl ack nodepool repair <id> [flags]

Repair nodepool

  • Kind: mutation · Risk: medium
  • Synchronous: waits for success (waiter task_succeeded, timeout 3600s); use --no-wait to skip.
APIWhen calledPurpose
RepairClusterNodePoolWhen --node is specified or --config is specified or --api-param is specified.Perform the resource operation.
DescribeTaskInfoWhen (--node is specified or --config is specified or --api-param is specified) and --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
FixNodePoolVulsWhen --vulnerabilities is specified.Perform the resource operation.
DescribeTaskInfoWhen --vulnerabilities is specified and --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
DescribeClusterNodePoolDetailWhen --no-wait is not specified.Read the resource view.
ParameterTypeRequiredDescription
--clusterstringACK cluster ID
--regionstringAlibaba Cloud region
--configobjectnodepool request body as a JSON object or @file
--nodestring_arrayKubernetes node names or IDs
--vulnerabilitiesstring_arrayvulnerability IDs to fix

upgrade

ecctl ack nodepool upgrade <id> [flags]

Upgrade nodepool

  • Kind: mutation · Risk: medium
  • Synchronous: waits for success (waiter task_succeeded, timeout 3600s); use --no-wait to skip.
APIWhen calledPurpose
UpgradeClusterNodepoolEvery time the command runs.Perform the resource operation.
DescribeTaskInfoWhen --no-wait is not specified.Poll until the resource reaches the target state. (repeated)
DescribeClusterNodePoolDetailWhen --no-wait is not specified.Read the resource view.
ParameterTypeRequiredDescription
--clusterstringACK cluster ID
--configobjectnodepool request body as a JSON object or @file
--regionstringAlibaba Cloud region