The ACK SDK lets you manage clusters programmatically. SDKs are available for Java, TypeScript, Go, Python, PHP, C#, C++, Swift, and Java (asynchronous).
SDK downloads
Download the SDK from the Alibaba Cloud API portal and install it using the standard package manager for your language. The source code is hosted on GitHub — each repository's README includes the install command and usage examples.
Generate SDK parameters with Console-to-Code
Console-to-Code generates ready-to-use SDK code from your console actions. It supports Java, TypeScript, Go, PHP, and C#.
Generate parameters for creating a cluster
Log on to the Container Service Management Console. In the left navigation pane, click Clusters.
On the Clusters page, click Cluster Templates.
In the dialog box that appears, select the cluster type, click Create, and configure the cluster details.
On the Confirm step, click Console-to-Code in the top right corner. In the panel that appears, select a language tab to obtain the generated code.
Generate parameters for managing add-ons
Log on to the Container Service Management Console. In the left navigation pane, click Clusters.
Click the name of your cluster. In the left navigation pane, click Add-ons.
On the Add-ons page, find the add-on you want to manage. On the card for the add-on, click Install or Configuration as required.
In the dialog box, click Console-to-Code. Copy the generated code from the panel on the right.