When you create an ACK managed cluster, you can enable Auto Mode. This mode allows you to create a best-practice Kubernetes cluster with a single click after you complete some simple planning and configuration. By default, the cluster creates an Auto Mode node pool, and ACK manages the lifecycle and operations of the nodes in this pool.
Before you enable Auto Mode, we recommend that you read Introduction to Auto Mode to understand its features and use cases.
Prerequisites
Plan and design
Before creating a cluster, plan and design its configuration based on your business requirements to ensure it runs in a stable, efficient, and secure manner.
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, you need to activate the required services and grant permissions to your account:
-
Activate ACK: If this is your first time using ACK, log on to the ACK activation page and follow the on-screen instructions.
-
Role authorization: Go to the RAM quick authorization page to grant ACK the permissions required to create default roles. This ensures that ACK can call related cloud resources.
-
Activate related cloud products: Activate the cloud products on which ACK clusters depend, such as VPC and SLB.
-
The creation process involves purchasing pay-as-you-go resources, such as CLB instances. Ensure your account has a sufficient balance to avoid service interruptions due to overdue payments.
-
Only Alibaba Cloud accounts can activate cloud products. To authorize a RAM user to manage activated cloud products, see Use RAM to grant permissions on clusters and cloud resources.
-
Procedure
Log on to the ACK console. In the left navigation pane, click Clusters.
-
In the top-left corner of the page, select the resource group and region where your target resources reside.

-
On the Clusters page, click Create Kubernetes Cluster. On the ACK Managed Cluster page, enable Auto Mode.
After you enable this mode, the page displays the three core capabilities of Auto Mode: fully managed operations (fully managed control plane, automatic version upgrades, and maintenance-free nodes with auto-healing), automatic node scaling (on-demand elastic scaling, automatic instance type matching, and optimized resource costs), and highly optimized node operating system (container-optimized OS for fast startup, immutable file system, and security best practices by default).
-
Follow the on-screen instructions to configure the cluster. After you confirm the configuration and read the terms of service, click Create Kubernetes Cluster.
For a detailed description of the configuration items, see Cluster configuration.
Auto Mode is available only for ACK managed cluster Pro Edition and incurs fees for cluster management and related cloud products. You can view the total cost of the cluster at the bottom of the creation page. You can also view the billing documentation for ACK and each product. For more information, see Billing overview and Fees for cloud product resources.
In the upper-right corner of the page, you can click Console-to-Code to generate the Terraform or SDK sample parameters for the current cluster configuration.
-
After the cluster is created, an Auto Mode node pool is automatically created. This node pool dynamically scales in and out based on workload demand. ACK manages the node lifecycle and O&M tasks, including OS and software upgrades, and security vulnerability fixes.
-
After the cluster is created, ACK installs components based on the configuration. These components may consume computing resources in the cluster. The Auto Mode node pool automatically scales out to add the required nodes.
Next steps
Appendix
Shared responsibility model
ACK Auto Mode is designed to provide automated and intelligent Kubernetes cluster O&M to reduce your operational overhead. However, you are still responsible for certain tasks.
|
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
You can create a cluster using the default configuration or customize the settings based on your business requirements and available resources. In the Modifiable column of the following tables,
indicates that the setting cannot be changed after creation, and
indicates that the setting can be changed. Pay close attention to the settings that cannot be changed.
Network configuration
|
Parameter |
Description |
Modifiable |
|
IPv6 Dual-stack |
Supported only for Kubernetes 1.22 or later, only with Terway, and cannot be used together with eRDMA. The cluster supports both IPv4 and IPv6 protocols, but communication between worker nodes and the control plane still uses IPv4 addresses. Ensure the following:
|
✗ |
|
VPC |
The VPC for the cluster. To ensure high availability, we recommend selecting two or more zones.
We recommend using standard private CIDR blocks for the cluster VPC (for example, 10.0.0.0/8, 172.16.0.0/12, or 192.168.0.0/16). If you have special requirements, apply at the Quota Center (Create a cluster using a public CIDR block VPC). Cloud resource and billing information: |
✗ |
|
Configure SNAT for VPC |
Do not select this option when using a shared VPC. Select this option if nodes need public network access (to pull public images or access external services). ACK automatically configures a NAT Gateway and SNAT rules to enable public network access for cluster resources.
If you do not select this option, you can manually configure a NAT Gateway and SNAT rules after cluster creation. For details, see Public NAT Gateway. Cloud resource and billing information: |
✓ |
|
Access to API Server |
ACK automatically creates a pay-as-you-go private CLB instance as the internal endpoint for the API Server. This CLB instance cannot be reused or deleted. If deleted, the API Server becomes inaccessible and cannot be restored. To use an existing CLB instance, submit a ticket. After selecting Use Existing Gateway for the VPC, you can set the SLB Source to Use Existing Gateway. You can optionally enable Expose API server with EIP.
To enable this later, see Enable public network access to API Server. Starting December 1, 2024, newly created CLB instances will no longer support Subscription billing, and will incur instance fees. For details, see [Product Announcement] Discontinuation of subscription billing for new cluster API Server CLB instances, Adjustment announcement for Classic Load Balancer CLB billing items. |
✗ |
|
Network Plug-in |
The network plugin provides the foundation for pod-to-pod communication in the cluster. For a detailed comparison, see Compare Terway and Flannel container network plugins.
|
✗ |
|
Pod vSwitch |
Required only when using the Terway plugin. The vSwitch used to assign IP addresses to pods. Each pod vSwitch corresponds to a worker node vSwitch, and both must be in the same zone. Important For the Pod virtual switch, use a subnet mask no larger than /19. The maximum allowed subnet mask is /25. If you use a larger subnet mask, the number of Pod IP addresses that can be allocated in the cluster is severely limited, which affects the cluster’s normal operation. |
✓ |
|
Container CIDR Block |
Required only for Flannel. The IP address pool for assigning pod IPs. This CIDR block must not overlap with the VPC or any existing ACK cluster CIDR blocks in the VPC, and must not overlap with the Service CIDR. |
✗ |
|
Number of Pods per Node |
Required only for Flannel. Defines the maximum number of pods allowed on a single node. |
✗ |
|
Service CIDR |
Also known as Service CIDR, this is the IP address pool for assigning IPs to internal cluster services. This CIDR block must not overlap with the VPC or any existing cluster CIDR blocks in the VPC, and must not overlap with the Container CIDR Block. |
✗ |
|
Forwarding Mode |
Select the kube-proxy proxy mode, which determines how cluster Services distribute requests to backend pods.
|
✗ |