The following tables list the API operations that are available for use in Alibaba Cloud Container Service for Kubernetes (ACK).

Notice Before you call the API operations to manage ACK clusters, make sure that you have read and agreed to Disclaimer.

Clusters

API Description

Create a dedicated cluster

You can call CreateCluster to create a dedicated ACK cluster and add a specified number of nodes to the cluster.

Create a managed cluster

You can call CreateCluster to create a managed ACK cluster and add a specified number of nodes to the cluster.

Create a serverless cluster

You can call CreateCluster to create a serverless Kubernetes (ASK) cluster.

Create a managed edge cluster

You can call CreateCluster to create a managed edge cluster.

Create a cluster that supports sandboxed containers

You can call CreateCluster to create an ACK cluster that supports sandboxed containers.

Add worker nodes to a cluster

You can call ScaleOutCluster to add worker nodes to an ACK cluster. Worker nodes can be deployed across zones.

Add worker nodes to a cluster that supports sandboxed containers

You can call ScaleOutCluster to add worker nodes to an ACK cluster that supports sandboxed containers. Worker nodes can be deployed across zones.

Add worker nodes to a managed edge cluster

You can call ScaleOutCluster to add worker nodes to a managed edge cluster. You can add only Edge Node Service (ENS) instances to the managed edge cluster.

Query a cluster

You can call DescribeClusterDetail to query the details of an ACK cluster with a specified cluster ID.

Query all clusters

You can call DescribeClusters to query all clusters under your account (Swarm clusters and ACK clusters).

Query resources in a cluster

You can call DescribeClusterResources to query all resources in an ACK cluster.

Obtain an agent to access the API server

You can call DescribeExternalAgent to query external agents of the Kubernetes API server.

Query resource quotas

You can call DescribeUserQuota to query resource quotas of your account.

Query the logs of a cluster

You can call DescribeClusterLogs to query logs of an ACK cluster.

Obtain a kubeconfig file of a cluster

You can call DescribeClusterUserKubeconfig to obtain the kubeconfig file of an ACK cluster. The kubeconfig file is used to configure access to an ACK cluster.

Modify a cluster

You can call ModifyCluster to modify the configurations of an ACK cluster.

Delete a cluster

You can call DeleteCluster to delete an ACK cluster with a specified cluster ID and release all nodes in the cluster.

Modify the tags of a cluster

You can call ModifyClusterTags to modify tags of an ACK cluster.

Query tags of resources

You can call ListTagResources to query tags that are attached to one or more resources.

Nodes

API Description

Query nodes in a cluster

You can call DescribeClusterNodes to query nodes in an ACK cluster.

Remove nodes from a cluster

You can call RemoveClusterNodes to remove nodes from an ACK cluster.

Add existing ECS instances to a cluster

You can call AttachInstances to add an existing Elastic Compute Service (ECS) instance to an ACK cluster.

Generate a script for adding a node to a managed edge cluster

You can call DescribeClusterAttachScripts to add an existing node to a managed edge cluster. This operation returns a unique, executable script. You can run the script on an existing node to add the node to a managed edge cluster.

Add existing ENS instances to a managed edge cluster

You can call AttachInstances to add an existing Edge Node Service (ENS) instance to a managed edge cluster.

Upgrades

API Description

Query the upgrade status of a cluster

You can call GetUpgradeStatus to query the upgrade status of an ACK cluster.

Upgrade a cluster

You can call UpgradeCluster to upgrade an ACK cluster.

Suspend the upgrade of a cluster

You can call PauseClusterUpgrade to pause the upgrade of an ACK cluster.

Cancel the upgrade of a cluster

You can call CancelClusterUpgrade to cancel the upgrade of an ACK cluster.

Resume the upgrade of a cluster

You can call ResumeUpgradeCluster to resume the upgrade of an ACK cluster.

Applications

API Description

Create an application deployment template

You can call CreateTemplate to create a deployment template for an application.

Query application deployment templates

You can call DescribeTemplates to query deployment templates for an application.

Update an application deployment template

You can call UpdateTemplate to update a deployment template for an application.

Delete an application deployment template

You can call DeleteTemplate to delete a deployment template for an application.

Add-ons

API Description

Install an add-on for a cluster

You can call InstallClusterAddons to install an add-on in an ACK cluster.

Query details of cluster add-ons

You can call DescribeClusterAddonsVersion to query the versions of add-ons in an ACK cluster.

Query supported add-ons

You can call DescribeAddons to query information about add-ons in an ACK cluster.

Query the upgrade status of a cluster add-on

You can call DescribeClusterAddonUpgradeStatus to query the upgrade status of an add-on in an ACK cluster.

Uninstall an add-on from a cluster

You can call UnInstallClusterAddons to uninstall an add-on from a cluster.