All Products
Search
Document Center

Container Service for Kubernetes:Manage nodes in batches

Last Updated:Apr 01, 2024

You can use CloudOps Orchestration Service (OOS) to manage worker nodes in batches in a Container Service for Kubernetes (ACK) cluster. This improves O&M efficiency. For example, you can safely update the operating system kernel and install custom monitoring, security, and audit application packages.

Prerequisites

  • An ACK cluster is created. For more information, see Create an ACK managed cluster and Create an ACK dedicated cluster.

  • OOS is activated in the OOS console.

    OOS is an automated O&M service provided by Alibaba Cloud to help you manage and execute O&M tasks. You can create templates to define O&M tasks, the execution sequence of the tasks, input parameters, and output parameters, and use the templates to automatically execute the tasks. For more information, see What is OOS?

Procedure

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

  2. On the Clusters page, click the name of the cluster that you want to manage and choose Nodes > Nodes in the left-side navigation pane.

  3. Select the cluster and the nodes that you want to manage and click Batch Operations. In the Batch Operations dialog box, select the batch O&M operation that you want to perform and click OK.

    The following batch O&M operations are supported:

    • Install Operating System Kernel Security Updates

    • Install Custom Packages

    • Install or Uninstall YUM or APT Packages

    • Run Shell Scripts

  4. On the page that appears, set the parameters to run OOS tasks.

    For more information about the parameters, see Create an execution.

  5. After you set the parameters, click Create.

    You are redirected to the Task Execution Management page in the OOS console by default. You can find the newly submitted execution.

    • Automatic: The execution automatically starts. After the execution is complete, the execution status displays Success or Fail. If the execution fails, fix it based on the error message.

    • Suspend upon Failure: For a loop execution, the execution is paused when a step fails. You can adjust and decide whether to resume the execution.

    • Manual: The execution must be manually started.

    Click the execution ID or click Details in the Actions column of the execution to view the execution status, steps, and results.

References

You can modify the configurations of a node pool in the ACK console to update the behavior of the nodes in the node pool. For more information, see Modify a node pool.