Canary deployment for ACK cluster components
The component management feature for Container Service for Kubernetes (ACK) lets you install components in batches. You can use several canary deployment strategies, including those based on a specific number of nodes, a percentage of nodes, or ACK node labels. This topic explains how to use canary deployment to install components in the SysOM console.
Limitations
-
Region limitations
-
Number- and percentage-based strategies
This feature is supported only in the Chinese mainland and the China (Hong Kong) region.
-
ACK node label strategy
This feature is only available in the following regions and availability zones. To request support for additional regions or availability zones, join the SysOM user group on DingTalk (group ID: 94405014449) for assistance.
Region
Region ID
Availability zone
China (Hangzhou)
cn-hangzhou
B, G, H, I, J, K
China (Beijing)
cn-beijing
C, D, E, F, G, H, I, K
China (Ulanqab)
cn-wulanchabu
A, B, C
China (Shenzhen)
cn-shenzhen
A, C, D, E, F
China (Chengdu)
cn-chengdu
A, B
-
-
Operating system limitations
Architecture
Operating system
x86 architecture
-
Rocky Linux 9.5
-
Rocky Linux 9.1
-
Ubuntu 20.04
-
Alibaba Cloud Linux 3 Container Optimized Edition
-
Rocky Linux 8.8
-
Ubuntu 22.04
-
Alibaba Cloud Linux 3 Pro
-
Alibaba Cloud Linux 2/3
-
CentOS 7.6 or later, or CentOS 8
-
Anolis OS 7/8
-
Ubuntu 24.04
Arm architecture
-
Alibaba Cloud Linux 3 Pro
-
Alibaba Cloud Linux 3
-
Prerequisites
-
If you use a RAM user, make sure that the Alibaba Cloud account (primary account) has granted the RAM user the
AliyunECSReadOnlyAccessandAliyunSysomFullAccesssystem policies. -
The console permissions are activated.
The first time you log on to the Operating System Console, click Activate Service to activate the console service.
Canary deployment
Select the component you want to install and click Install.
-
In the upper part of the left-side navigation pane, select the region in which the target instance resides.
-
Set Component Operation to Install and Operation Mode to Cluster, and then select the target clusters.
-
Expand Advanced Options (optional), turn on the Canary Deployment switch, and then select a canary deployment strategy.
Policy type
Description
Notes
Label (Recommended)
Installs the component on nodes with the specified labels.
A node is selected if it has any of the specified labels.
NoteThe first time you use this strategy, click Authorize to grant the component the required ACK RBAC permissions.
Number
Installs the component on a specified number of randomly selected nodes from the target cluster.
If the number of nodes in a cluster drops below the specified number due to a scale-in event, the component is installed on all remaining nodes.
Percentage
Installs the component on a specified percentage of randomly selected nodes from the target cluster.
The number of selected nodes is calculated by multiplying the total number of ACK nodes by the specified percentage (
M * N%) and then rounding down to the nearest integer. -
Click Execute. The installation status is displayed. You can click View Details to check the execution status of each instance.
-
(Optional) If you no longer need the label-based canary deployment strategy, you can revoke the component's permissions for the cluster.