The following tables list 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
CreateCluster Creates a dedicated Kubernetes cluster.

CreateCluster

Creates a managed Kubernetes cluster and adds a specified number of nodes to the cluster.

Create a serverless cluster

Creates a serverless Kubernetes (ASK) cluster.

Create a managed edge cluster

Creates a managed edge Kubernetes cluster.

Create an ACK cluster that supports sandboxed containers

Creates a dedicated Kubernetes cluster that runs sandboxed containers.
创建标准托管版安全沙箱Kubernetes集群 Creates a managed Kubernetes cluster that runs sandboxed containers.

Add worker nodes to a cluster

Adds worker nodes to a specified ACK cluster. The worker nodes can be deployed across zones.

Add worker nodes to a cluster that supports sandboxed containers

Adds worker nodes to a specified ACK cluster that runs sandboxed containers. The worker nodes can be deployed across zones.

Add worker nodes to a managed edge cluster

Adds worker nodes to a specified ACK cluster. You can add only Edge Node Service (ENS) instances to a managed edge Kubernetes cluster.

Query a cluster

Queries the details of a specified ACK cluster by cluster ID.

Query the information about all clusters

Queries all Swarm clusters and ACK clusters that are created by the current account.

Query resources in a cluster

Queries all resources in a specified ACK cluster.

Obtain an agent to access the API server of a cluster

Queries the agent configurations of a specified ACK cluster.

Query resource quotas

Queries the resource quotas of the current account.

Query the logs of a cluster

Queries the logs of a specified ACK cluster.

Obtain a kubeconfig file of a cluster

Obtains the kubeconfig file of a specified ACK cluster. The kubeconfig file is used to configure access to an ACK cluster.

Modify a cluster

Modifies the configurations of a specified ACK cluster.

Delete a cluster

Deletes an ACK cluster by cluster ID and releases all nodes in the cluster.

Modify the tags of a cluster

Modifies the labels of a specified ACK cluster.

ListTagResources

Queries the labels that are added to the specified resources.
Query the details of a cluster version Queries the details of a specified Kubernetes version that is supported by ACK.
DescribeTaskInfo Queries the details of a task by task ID.

Permissions

API Description

DescribeUserPermission

Queries the permissions that are granted to a specified Resource Access Management (RAM) user to manage ACK clusters.

GrantPermissions

Grants a specified RAM user the permissions to manage ACK clusters.

Nodes

API Description

Query nodes in a cluster

Queries the nodes in a specified ACK cluster.

Remove worker nodes from a cluster

Removes the nodes from a specified ACK cluster.

Add existing ECS instances to a cluster

Adds existing Elastic Compute Service (ECS) instances to a specified ACK cluster.

Generate a script to add a node to a managed edge cluster

Adds 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.

Add existing ENS instances to a managed edge cluster

Adds existing ENS instances to a specified managed edge Kubernetes cluster.

Node pools

API Description

Create a node pool

Creates a node pool in a specified ACK cluster.

ScaleClusterNodePool

Adds nodes to a specified node pool.

Update node pool information

Updates the configurations of a specified node pool.

Query node pools

Queries the details of all node pools in a specified ACK cluster.

Query the details of a node pool

Queries the details of a specified node pool in an ACK cluster.
Delete a node pool Deletes a node pool.

Upgrades

API Description

Query the upgrade status of a cluster

Queries the upgrade status of a specified ACK cluster.

Upgrade a cluster

Upgrades an ACK cluster.

Suspend the upgrade of a cluster

Pauses the upgrade of a specified ACK cluster.

Cancel the upgrade of a cluster

Cancels the upgrade of a specified ACK cluster.

Resume the upgrade of a cluster

Resumes the upgrade of a specified ACK cluster.

Applications

API Description

Create an application deployment template

Creates an application deployment template.

Query application deployment templates

Queries application deployment templates.

Update an application deployment template

Updates an application deployment template.

Delete an application deployment template

Deletes an application deployment template.
Create a trigger Creates an application trigger.
Query triggers Queries specific triggers that are created for a specified application.
Delete a trigger Deletes an application trigger.
Query the details of an orchestration template Queries the details of a specified application deployment template.

Components

API Description

Install add-ons for a cluster

Install components in a specified ACK cluster.

查询集群组件版本

Queries the versions of components in a specified ACK cluster.

Query supported add-ons

Query the details of components that are installed in ACK clusters.
UpgradeClusterAddons Upgrades a component to the specified version in a specified ACK cluster.
Query the upgrade statuses of cluster add-ons Queries the upgrade status of multiple components at a time.
Modify an add-on in a managed cluster Modifies ConfigMaps for kube-apiserver and Kube Controller Manager (KCM). This allows you to modify the configurations of these components.

UnInstallClusterAddons

Uninstalls components from a specified ACK cluster.

Labels

API Description

绑定资源标签

Adds labels to a specified ACK cluster.

Modify the tags of a cluster

Modifies the labels of a specified ACK cluster.

ListTagResources

Queries the labels of the specified resources.

解绑资源标签

Removes labels from a specified ACK cluster.