All Products
Search
Document Center

Container Compute Service:Enable batch task orchestration

Last Updated:Mar 26, 2026

Argo Workflows is a Kubernetes-native workflow engine that orchestrates concurrent batch tasks using YAML or Python. Use it for CI/CD pipelines, data processing, and machine learning workloads. This guide walks you through installing the Argo Workflows component on ACS and accessing it through the Alibaba Cloud Argo CLI or the Argo console.

Prerequisites

Before you begin, ensure that you have:

  • An ACS cluster

  • kubectl configured to connect to your cluster

Step 1: Install the Argo Workflows component

Install Argo Workflows from the Add-ons page in the ACS console.

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

  2. Find the cluster you want to manage and click its ID. In the left-side navigation pane of the cluster details page, choose Operations > Add-ons.

  3. On the Add-ons page, find Argo Workflows and install the component.

  4. After installation, choose Applications > Helm in the left-side navigation pane. Find ack-workflow and confirm its status is Deployed.

Step 2: Access Argo Workflows

ACS provides two ways to interact with Argo Workflows: the Alibaba Cloud Argo CLI and the Argo console.

Method 1: Install Alibaba Cloud Argo CLI

The Alibaba Cloud Argo CLI is fully compatible with the open-source Argo CLI. It adds CPU and memory usage metrics for workflows, operating cost tracking, and extends log querying to pods that have already been deleted from workflows.

  1. Download the CLI binary for your operating system:

    • Linux: https://ack-one.oss-cn-hangzhou.aliyuncs.com/cli/v3.4.12/argo-cli-aliyun-linux

    • Darwin: https://ack-one.oss-cn-hangzhou.aliyuncs.com/cli/v3.4.12/argo-cli-aliyun-darwin

    The following example downloads the Linux binary:

    wget https://ack-one.oss-cn-hangzhou.aliyuncs.com/cli/v3.4.12/argo-cli-aliyun-linux
  2. Grant the binary execute permission:

    chmod +x argo-cli-aliyun-linux
  3. Move it to a directory in your PATH, such as /usr/local/bin/:

    mv argo-cli-aliyun-linux /usr/local/bin/argo

Method 2: Use the Argo console

To access the Argo console, first get a temporary access token, then open the console in your browser.

Get an access token

Run the following command to generate a temporary token. The command uses ack-argo-server, the pre-configured service account in the argo namespace:

kubectl create token ack-argo-server -n argo

The command returns a token string:

elxxxxxxxxxx

This token is valid for 1 hour. Generate a new token when it expires.

Access the Argo console

By default, Argo Server is only accessible through an internal endpoint. To access the console from the internet, follow the optional step to enable internet access first.

  1. (Optional) Enable internet access.

    1. Edit the Argo Server Service to change its type to LoadBalancer:

      kubectl edit service argo-server -n argo

      In the editor, set type: LoadBalancer under the spec section.

    2. To configure access control, see Work with the access control feature of SLB.

  2. Get the external IP of the Argo Server Service:

    kubectl get service argo-server -n argo

    The EXTERNAL-IP field in the output is the IP address you use to access the console.

  3. Open the Argo console in your browser using the following URL format:

    https://${IP}:2746

    The login page appears:

    image

  4. Enter the token you obtained earlier in the text box, using the format Bearer $token:

    image

  5. After logging in, set the NAMESPACE to argo to view your workflow tasks:

    image

What's next

Create your first workflow using the CLI or the console. For more information, see Create a workflow.