The following tables list the API operations available for use in 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 Kubernetes cluster Call the CreateCluster operation to create a dedicated Kubernetes cluster.

Create a managed Kubernetes cluster

Call the CreateCluster operation to create a managed Kubernetes cluster and add a specified number of nodes to the cluster.

Create an ASK cluster

Call the CreateCluster operation to create a serverless Kubernetes (ASK) cluster.

Create a managed edge Kubernetes cluster

Call the CreateCluster operation to create a managed edge Kubernetes cluster.

Create a dedicated Kubernetes cluster that supports sandboxed containers

Call the CreateCluster operation to create a dedicated Kubernetes cluster that runs sandboxed containers.
Create a standard managed Kubernetes cluster that supports sandboxed Call the CreateCluster operation to create a managed Kubernetes cluster that runs sandboxed containers.

DescribeClusterDetail

Call the DescribeClusterDetail operation to query the details of a specified ACK cluster by cluster ID.

Query nodes in a cluster

Call the DescribeClusterNodes operation to query the nodes in a specified ACK cluster.

Query information about all clusters

Call the DescribeClustersV1 operation to query all Swarm clusters and Kubernetes clusters that are created by the current account.

Query resources in a cluster

Call the DescribeClusterResources operation to query all resources in a specified ACK cluster.

DescribeExternalAgent

Call the DescribeExternalAgent operation to query the agent configurations of a specified ACK cluster.

DescribeUserQuota

Call the DescribeUserQuota operation to query the resource quotas of the current account.

DescribeClusterLogs

Call the DescribeClusterLogs operation to query the logs of a specified ACK cluster.

Query the kubeconfig file of a cluster

Call the DescribeClusterUserKubeconfig operation to obtain the kubeconfig file of a specified ACK cluster. The kubeconfig file stores details of the account that is used to log on to the ACK cluster.

Modify a cluster

Call the ModifyCluster operation to modify the configurations of a specified ACK cluster.

Delete a cluster

Call the DeleteCluster operation to delete an ACK cluster by cluster ID and release all nodes in the cluster.

ModifyClusterTags

Call the ModifyClusterTags operation to modify the labels of a specified ACK cluster.

Query the labels of specified resources

Call the ListTagResources operation to query the labels that are added to the specified resources.
DescribeKubernetesVersionMetadata Call the DescribeKubernetesVersionMetadata operation to query the details of a specified Kubernetes version that is supported by ACK.
DescribeTaskInfo Call the DescribeTaskInfo operation to query the details of a task by task ID.
Query events in a cluster Call the DescribeEvents operation to query the operations performed by users.

Add existing ENS nodes to a managed edge Kubernetes cluster

Call the AttachInstances operation to add existing ENS instances to a specified managed edge Kubernetes cluster.

Permissions

API Description

Query the permissions of a RAM user

Call the DescribeUserPermission operation to query the permissions that are granted to a specified Resource Access Management (RAM) user to manage ACK clusters.

GrantPermissions

Call the GrantPermissions operation to grant a specified RAM user the permissions to manage ACK clusters.

Node pools

API Description

Create a node pool

Call the CreateClusterNodePool operation to create a node pool in a specified ACK cluster.

ScaleClusterNodePool

Call the ScaleClusterNodePool operation to add nodes to a specified node pool.

Update node pool information

Call the ModifyClusterNodePool operation to update the configurations of a specified node pool.

DescribeClusterNodePools

Call the DescribeClusterNodePools operation to query the details of all node pools in a specified ACK cluster.

DescribeClusterNodePoolDetail

Call the DescribeClusterNodePoolDetail operation to query the details of a specified node pool in an ACK cluster.

AttachInstances

Call the AttachInstances operation to add existing Elastic Compute Service (ECS) instances to a specified ACK cluster.

Manually add an existing instance to a specified node pool

Call the DescribeClusterAttachScripts operation to add an existing node to a specified managed edge Kubernetes cluster. This operation returns a unique and executable script. You can run the script on an existing node to add the node to the managed edge Kubernetes cluster.

Remove nodes from node pools

Call the RemoveClusterNodes operation to remove the nodes from a specified ACK cluster.
Delete a node pool Call the DeleteClusterNodepool operation to delete a node pool.

Upgrades

API Description

GetUpgradeStatus

Call the GetUpgradeStatus operation to query the upgrade status of a specified ACK cluster.

UpgradeCluster

Call the UpgradeCluster operation to upgrade an ACK cluster.

PauseClusterUpgrade

Call the PauseClusterUpgrade operation to pause the upgrade of a specified ACK cluster.

CancelClusterUpgrade

Call the CancelClusterUpgrade operation to cancel the upgrade of a specified ACK cluster.

ResumeUpgradeCluster

Call the ResumeUpgradeCluster operation to resume the upgrade of a specified ACK cluster.

Applications

API Description
CreateTemplate Call the CreateTemplate operation to create an application deployment template.
DescribeTemplates Call the DescribeTemplates operation to query application deployment templates.
DescribeTemplateAttribute Call the DescribeTemplateAttribute operation to query the details of a specified application deployment template.

UpdateTemplate

Call the UpdateTemplate operation to update an application deployment template.

DeleteTemplate

Call the DeleteTemplate operation to delete an application deployment template.
Create an application trigger Call the CreateTrigger operation to create an application trigger.
Query an application trigger Call the DescribeTrigger operation to query an application trigger.
Delete an application trigger Call DeleteTriggerHook to delete an application operation trigger.

Components

API Description

Install a component in an ACK cluster

Call the InstallClusterAddons operation to install components in a specified ACK cluster.

Query components

Call the DescribeClusterAddonsVersion operation to query the versions of components in a specified ACK cluster.

DescribeAddons

Call the DescribeAddons operation to query the details of components that are installed in ACK clusters.
UpgradeClusterAddons Call the UpgradeClusterAddons operation to upgrade a component to the specified version in a specified ACK cluster.
DescribeClusterAddonsUpgradeStatus Call the DescribeClusterAddonsUpgradeStatus operation to query the upgrade status of multiple components at a time.
ModifyClusterConfiguration Call the ModifyClusterConfiguration operation to modify ConfigMaps for kube-apiserver and Kube Controller Manager (KCM). This allows you to modify the configurations of these components.

UnInstallClusterAddons

Call the UnInstallClusterAddons operation to uninstall components from a specified ACK cluster.

Labels

API Description

TagResources

Call the TagResources operation to add labels to a specified ACK cluster.

ModifyClusterTags

Call the ModifyClusterTags operation to modify the labels of a specified ACK cluster.

Query the labels of specified resources

Call the ListTagResources operation to query the labels of the specified resources.

UntagResources

Call the UntagResources operation to remove labels from a specified ACK cluster.