Create an ACK Auto Mode cluster
When you create an ACK managed cluster, you can enable Auto Mode to launch a best-practice Kubernetes cluster with minimal planning. ACK then provisions and manages a system node pool to run system components and an auto-mode node pool to run your workloads, and handles the entire node lifecycle.
Before you enable Auto Mode, read Auto mode to understand its features and use cases.
Preparation
Planning and design
Before you create a cluster, plan and design the cluster configuration based on your business needs to ensure that the cluster runs stably, efficiently, and securely.
-
Region: The closer the selected region is to your users and deployed resources, the lower the network latency and the faster the access speed.
-
Zone: We recommend that you configure multiple zones to ensure high availability (HA) for the cluster.
-
Network address planning: Plan the VPC CIDR blocks (VPC's own CIDR block and vSwitch CIDR blocks) and Kubernetes CIDR blocks (pod address range and service address range) based on your business scenario and cluster size. This defines the IP address range for the entire cluster and the number of available IP addresses for pods and nodes.
Public network access: Determine whether cluster nodes need to access the public network. Public network access is required to pull public images.
Activation and authorization
Before you create a cluster, activate the service and authorize the account:
Activate ACK: For first-time use, log on to the ACK activation page and complete the activation as prompted.
Role authorization: Go to the RAM Quick Authorization page, and authorize the Alibaba Cloud account to create the default Container Service roles, so that ACK can properly invoke the related cloud service resources.
Activate cluster-related cloud products: Activate the cloud products on which ACK clusters depend, including Virtual Private Cloud (VPC) and Server Load Balancer (SLB).
When you create a cluster, you purchase pay-as-you-go resources such as CLB instances. Make sure that your account balance is sufficient to avoid service outages caused by overdue payments.
Only Alibaba Cloud accounts can activate cloud products. To authorize RAM users to manage activated cloud products, see Grant cluster and cloud resource access with RAM.
Procedure
-
Log on to the ACK console. In the left navigation pane, click Clusters.
At the top left of the page, select the resource group and region of the target resource.

On the Clusters page, click Create Kubernetes Cluster. On the ACK Managed Cluster page, enable Auto Mode.
After you enable Auto Mode, the page displays three core capabilities: Fully managed operations (fully managed cluster control plane, automatic version upgrades, maintenance-free nodes, and automatic self-healing), Automatic node scaling (on-demand elastic scaling, automatic instance type selection, and optimized resource costs), and Highly optimized node OS (a container-optimized OS with fast startup, an immutable file system, and secure-by-default best practices).
Follow the on-screen instructions to configure the cluster. After you review the configuration and read the service agreement, click Create Kubernetes Cluster.
For detailed information about each configuration item, see Cluster configuration.
Auto Mode is supported only on ACK Managed Pro clusters, and incurs fees for both cluster management and related cloud services. View the cluster cost overview at the bottom of the creation page. For billing details, see Billing overview and Cloud resource costs.
Click Console-to-Code in the top-right corner of the page to generate sample Terraform or SDK parameters for the current cluster configuration.
After the cluster is created, a system node pool and an auto-mode node pool are automatically created. The auto-mode node pool scales dynamically based on workload requirements. over node lifecycle management, including operating system upgrades, software upgrades, and security vulnerability fixes.
After creation, ACK installs add-ons based on your configuration. These add-ons may consume computing resources in the cluster. The auto-mode node pool scales out to add the required nodes.
What to do next
Appendix
Shared responsibility model
ACK Auto Mode provides automated, intelligent Kubernetes cluster operations and reduces the operational effort required. However, in some scenarios, you still need to fulfill certain obligations.
Alibaba Cloud responsibilities | Customer responsibilities | Shared responsibilities |
|
|
|
Quotas and limits
If you have a large cluster or your account contains many resources, you must be aware of the quotas and limits for using ACK clusters. For more information, see Quotas and limits.
-
Limits: These include ACK configuration limits (such as account balance) and single-cluster capacity limits (the maximum capacity of different Kubernetes resources within a single cluster).
-
Quota limits and quota increase requests: This includes quota limits for ACK clusters and the cloud products on which ACK depends, such as ECS and VPC. To request a quota increase, follow the instructions in the relevant documentation.
Cluster configuration
Create a cluster with the default configuration, or make flexible adjustments based on your business requirements and the resources available in your account. In the Editable after creation column of the table, ✗ indicates that the item cannot be modified after creation, and ✓ indicates that the item can be modified. Pay special attention to items that cannot be modified.
Network configuration
Configuration item | Description | Editable after creation |
IPv6 Dual-stack | This feature is only available for Kubernetes 1.22 and later and only supports Terway. It cannot be used with the elastic Remote Direct Memory Access (eRDMA) feature The cluster supports both IPv4 and IPv6 protocols. However, communication between worker nodes and the control plane still uses IPv4 addresses. Make sure that:
| ✗ |
VPC | The virtual private cloud (VPC) for the cluster. For high availability, select two or more different zones.
We recommend using standard private CIDR blocks for the cluster VPC, such as 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. If you have special requirements, go to Quota Center to apply for permission to use a public CIDR block to create a cluster. Cloud resources and billing: | ✗ |
Configure SNAT for VPC | Do not select this option when using a shared VPC Select this option if nodes need to access the public network (for example, to pull public images or access external services). ACK will automatically configure a NAT Gateway and SNAT rules to ensure that resources within the cluster can access the public network.
If you do not select this option, you can configure the NAT Gateway and SNAT rules yourself after creating the cluster. For more information, see Public NAT Gateway. Cloud resources and billing: | ✓ |
Access to API Server | ACK automatically creates a pay-as-you-go private-facing Classic Load Balancer (CLB) instance as the internal endpoint for the API Server. This CLB instance cannot be reused or deleted. If deleted, the API Server will become inaccessible and cannot be recovered. To use an existing CLB instance, submit a ticket. After you select Use Existing Gateway for VPC, you can set SLB Source to Use Existing Gateway. You can choose to enable Expose API server with EIP.
To enable this later, see Access the API server over the internet. Starting from December 1, 2024, new CLB instances will no longer support the Subscription billing method and will incur an instance fee. For more information, see [Service Notice] Announcement on Discontinuing Subscription Billing for New Cluster API Server CLB Instances and Billing item adjustment for Classic Load Balancer (CLB). | ✗ |
Network Plug-in | The network plugin is the foundation for network communication between pods in a cluster. For a detailed comparison of the two plugins, see Comparison of Terway and Flannel.
| ✗ |
Pod vSwitch | This parameter is required only when you select Terway. The vSwitch that assigns IP addresses to pods. Each pod vSwitch corresponds to a worker node's vSwitch. The pod vSwitch and the worker node's vSwitch must be in the same zone. Important The subnet mask for the pod vSwitch should not exceed 19, and the maximum is 25. Otherwise, the number of available pod IP addresses in the cluster network will be very limited, which will affect the normal use of the cluster. | ✓ |
Container CIDR Block | This parameter is required only for Flannel The address pool that assigns IP addresses to pods. This CIDR block cannot overlap with the VPC's CIDR block, the CIDR blocks used by existing ACK clusters in the VPC, or the Service CIDR. | ✗ |
Number of Pods per Node | You only need to configure Flannel. Defines the maximum number of pods that a single node can accommodate. | ✗ |
Service CIDR | Also known as Service CIDR. This is the address pool that assigns IP addresses to services within the cluster. This CIDR block cannot overlap with the VPC's CIDR block, the CIDR blocks used by existing clusters in the VPC, or the Container CIDR Block. | ✗ |
Forwarding Mode | Select the kube-proxy proxy mode, which determines how cluster services distribute requests to backend pods.
| ✗ |