Container Compute Service (ACS) is a cloud computing service that provides container computing resources based on Kubernetes. ACS provides serverless container computing power that complies with container specifications. ACS allows you to scale pods within seconds, allocate CPU and memory resources to pods on demand, and pay for these resources on a pay-as-you-go basis. ACS can efficiently reduce the expenses on computing resources and is suitable for fluctuating workloads. ACS clusters are compatible with Kubernetes and make Kubernetes easier to use for beginners. With the help of ACS, you can focus on application development without the need to worry about the underlying infrastructure. This topic describes how to create an ACS cluster in the ACS console.
Step 1: Go to the Create Cluster page
Log on to the ACS console. In the left-side navigation pane, click Clusters.
In the upper-left corner of the Clusters page, click Create Cluster.
Step 2: Configure a cluster
On the Create Cluster page, complete the cluster, network, component, and advanced configurations.
Cluster configurations
Parameter | Description |
Cluster Name | The name of the cluster. |
Region | The region where the cluster is located. For more information about the available regions, see Supported regions. |
Kubernetes Version | Select a Kubernetes version for the ACS cluster. |
Maintenance Window | ACS generates an update plan based on the cluster maintenance window that you configured, and performs prechecks and updates only within the maintenance window. Currently, the automatic update feature is disabled for the cluster. |
Network configurations
Parameter | Description |
IPv6 Dual-stack | If you enable IPv4/IPv6 dual stack, a dual-stack cluster is created. Note If you select Select Existing VPC, you must first enable IPv6 for the virtual private cloud (VPC) and vSwitch. For more information, see Enable IPv6 for a VPC and Enable IPv6 for a vSwitch. To use this feature, submit a ticket to apply to be added to the whitelist. |
VPC | The network of the cluster. For more information, see Plan CIDR blocks for an ACK cluster. ACS clusters support only VPCs. You can select Create VPC or Selecting Existing VPC.
We recommend that you select multiple zones or vSwitches to ensure the high availability of the cluster. You can use the recommended resource configuration feature. This feature can list zones with sufficient compute power based on the compute class that you select. Note Node objects in ACS clusters are provided as virtual nodes. When you create an ACS cluster, ACS automatically creates a virtual node in each zone that you selected. |
Configure SNAT | Specify whether to create a NAT gateway and configure SNAT rules on the NAT gateway. If you want to download container images over the Internet, you must configure a NAT gateway. Note
|
Security Group | You can choose to automatically create a basic or advanced security group. For more information about the two types of security groups, see Security groups. |
API Server Access Settings | By default, a pay-as-you-go internal-facing CLB instance is created for the API server. For more information about the billing of CLB instances, see Pay-as-you-go. Important If you delete the default CLB instance, you cannot access the API server. You can choose whether to select the Expose API Server with EIP check box. The API server provides multiple HTTP-based RESTful APIs, which can be used to create, delete, modify, query, and monitor resources such as pods and Services.
For more information, see Control public access to the API server of a cluster. |
Service CIDR | The Service CIDR block must not overlap with the CIDR block of the VPC, the CIDR blocks of the ACS clusters in the VPC, or the pod CIDR block. The Service CIDR block cannot be modified after the cluster is created. |
Component configurations
Parameter | Description |
Service Discovery | Specify whether to enable service discovery for the cluster. ACS clusters support CoreDNS. CoreDNS is a flexible and scalable DNS server that serves as a standard service discovery component in Kubernetes. It provides domain name resolution for Services in Kubernetes clusters. |
Ingress | Specify whether to install the Ingress controller. This parameter is optional. We recommend that you install an Ingress controller if you want to expose Services. ACS supports the following Ingress controllers:
|
Container Monitoring | By default, the following monitoring features are used:
|
Simple Log Service | Specify whether to enable Simple Log Service. You can create projects or use existing projects. After Simple Log Service is enabled, cluster auditing and control plane log collection are enabled. |
Advanced configurations
Click Show Advanced Options and configure the advanced parameters on demand.
Parameter | Description |
Deletion Protection | We recommend that you enable deletion protection in the console or by using API to prevent clusters from being accidentally released. |
Resource Group | The resource group to which the cluster belongs. Each resource can belong to only one resource group. You can regard a resource group as a project, an application, or an organization based on your business scenarios. |
Label | Enter a key and a value to add a label to the cluster. Keys are required and must be unique. A key must not exceed 64 characters in length. Values are optional. A value must not exceed 128 characters in length.
|
Time Zone | The time zone of the cluster. By default, the time zone of your browser is selected. |
Cluster Domain | Configure the cluster domain. The default domain name is The cluster domain is the top-level domain name (standard suffix) used by all Services in the cluster. For example, the domain name of the Service named |
Step 3: Confirm the configuration
After you complete the cluster configuration, click Confirm Order.
In the dialog box that appears, confirm the configuration and dependencies.
Read the terms of service, select the check box, and click Create Cluster.
After the cluster is created, you can find the cluster on the Clusters page.
NoteIt requires approximately 10 minutes to create a cluster.
What to do next
View the basic information about the cluster
On the Clusters page, find the cluster that you created and click Details in the Actions column. On the details page, click the Basic Information tab to view basic information about the cluster and click the Connection Information tab to view information about how to connect to the cluster.
API Server Public Endpoint: the IP address and port that the Kubernetes API Server uses to provide services over the Internet. It allows you to manage the cluster by using kubectl or other tools on the client.
Only ACK managed clusters support the Associate EIP and Disassociate EIP features.
Associate EIP: You can select an existing EIP or create an EIP.
The API server restarts after you associate an EIP with the API server. We recommend that you do not perform operations during the restart process.
Disassociate EIP: After you disassociate the EIP, you can no longer access the API server over the Internet.
The API server restarts after you disassociate the EIP from the API Server. We recommend that you do not perform operations on the cluster during the restart process.
API Server Internal Endpoint: the IP address and port that the API server uses to provide services within the cluster. The IP address belongs to the SLB instance that is associated with the cluster.
View cluster logs
Click the Cluster Logs tab to view the logs of the cluster.