Node management overview

Updated at:

View, manage, and troubleshoot worker nodes from the Nodes page in the ACK console.

Most node operations are performed in the ACK console. Navigate to the Nodes page:

  1. Log on to the ACK console. In the left navigation pane, click Clusters.

  2. On the Clusters page, click the name of your cluster. In the left navigation pane, click Nodes > Nodes.

Connect to a node

For troubleshooting, performance monitoring, or running custom scripts, connect to the node's ECS instance.

In the Actions column, choose image > Workbench Connection or image > VNC Connection.

See Methods for connecting to an ECS instance for other options.

In principle, ContainerOS does not support direct logon or SSH access to prevent untraceable operations and reduce security risks. For maintenance, see work with the administrative container of ContainerOS.

Drain a node

Draining a node evicts all evictable pods from the node and marks it as unschedulable, preventing new pods from being scheduled to it.

In the Actions column, choose image > Drain and follow the prompts.

Before draining a node:

  • Ensure that other nodes have sufficient resources to accommodate the evicted pods.

  • Verify that node affinity rules and scheduling policies allow rescheduling to other nodes.

  • DaemonSet-managed pods are not evicted during the drain operation.

Set node scheduling status

Use this operation to manually mark a node as unschedulable or schedulable, for example, before maintenance. Perform this operation during off-peak hours to minimize workload impact.

Select the node, then click Set Node Schedulability at the bottom. Read the precautions in the dialog box and follow the prompts.

Unschedulable nodes are labeled SchedulingDisabled. Existing pods continue serving traffic, but no new pods are scheduled to it. DaemonSet-managed pods are not evicted.

Remove a node

Removing a node disconnects it from a node pool or the cluster. Choose whether to also release the associated ECS instance. Perform this operation during off-peak hours to minimize workload impact.

  • To remove a single node: In the Actions column, choose image > Remove Node and follow the prompts.

  • To remove multiple nodes: Select the nodes, click Batch Remove at the bottom, and follow the prompts.

See Remove a node for precautions.

Monitor node resources

Click Monitor in the Actions column. If the monitoring add-on is not yet installed, you are prompted to install it. After installation, Managed Service for Prometheus is enabled and a resource dashboard is available for the node.

Diagnose node faults

Click Exception Diagnosis in the Actions column to trigger an automated inspection and receive a repair plan.

See Node diagnostics for supported scenarios and repair plans.

Manage node labels and taints

On the Nodes page, click Manage Labels and Taints to configure labels and taints that control pod scheduling.

See Manage node labels and taints.

Run batch operations on nodes

Apply the same action to multiple worker nodes at once, such as updating the operating system kernel or installing monitoring, security, and audit packages.

Batch operations require CloudOps Orchestration Service (OOS). Make sure that OOS is activated in the OOS console.

Select the target nodes, click Batch Operations at the bottom, then in the dialog box select the target operation and click OK.

Supported batch operations include:

  • Apply security updates to the operating system kernel.

  • Install custom software packages.

  • Install or uninstall YUM or APT packages.

  • Run Shell commands.

In the OOS console that opens automatically, create an execution, configure the task information and parameters as prompted, then click Create to submit the execution.

After the execution is created, you are redirected to the Task Execution Management page in the OOS console. Click the execution ID to view its status, steps, and results. For more information, see Execution overview.

Note: Batch operations are not supported on clusters with Auto Mode enabled.

OOS automates task runs through execution templates.

View node details

View resource usage

In the Actions column, click Details to view node resource usage and status at a glance.

CPU and memory metrics:

Metric

Formula

CPU request

Sum of CPU requested by all pods on the node / allocatable CPU of the node

CPU utilization

Sum of CPU used by all pods on the node / allocatable CPU of the node

Memory request

Sum of memory requested by all pods on the node / allocatable memory of the node

Memory utilization

Sum of memory used by all pods on the node / allocatable memory of the node

Allocatable resources = Resource capacity - Reserved resources - Eviction threshold. See Resource reservation policy.

The Details view also includes:

  • Basic information: node name, IP address, instance ID, container runtime version, operating system, and kernel version.

  • Resource allocation: CPU and memory requests and limits for all pods on the node

  • Node status: current condition

  • Node events: recent event records

  • Pod list: all pods running on the node

View node configuration in YAML

In the Actions column, click image > View YAML to see the full node YAML, useful for deep inspection and troubleshooting.

Next steps