API standards and multilingual preset SDKs
The OpenAPI of this product (CS/2015-12-15) uses the ROA signature style. We have encapsulated SDKs for common programming languages for developers. Developers can download the SDK to directly call this product's OpenAPI without worrying about technical details. If the existing SDK does not meet your needs, you can use the signature mechanism for self-signing integration. Since the details of self-signing are very complex, it may take around 5 business days. Therefore, we recommend joining our DingTalk service group (147535001692) and conducting signature integration under expert guidance.
Before using the API, you need to prepare your identity account and access key (AccessKey) to effectively access the API through client tools (such as SDK and CLI). For details, see Obtain an AccessKey.
Custom signature scenarios
If your business scenario has special requirements and you need to integrate the API through self-signing, we recommend consulting our technical support team first (DingTalk service group: 147535001692) to obtain professional guidance and ensure efficient integration.
Account and security preparation
Alibaba Cloud accounts have full administrative permissions over all resources. Once an AccessKey is compromised, all associated resources will be at risk of unauthorized access. To ensure security, it is recommended to create a RAM user with only API access permissions and configure its AccessKey, while configuring RAM policies based on the principle of least privilege (PoLP). Use the Alibaba Cloud account only in specific scenarios where Alibaba Cloud account permissions are explicitly required.
API catalog
|
API |
Title |
Description |
| OpenAckService | Activate container service for kubernetes | Activates Alibaba Cloud Container Service for Kubernetes (ACK) for first-time use. |
| DescribeRegions | List regions | Queries a list of regions. |
Clusters
|
API |
Title |
Description |
| CreateCluster | Create a cluster | Creates an ACK cluster, including an ACK managed cluster, an ACK Serverless cluster, an ACK Edge cluster, or a registered cluster. When you create a cluster, you configure cluster information, cluster components, and ACK-related cloud resources. |
| DeleteCluster | Delete a cluster | Deletes a cluster and specifies whether to delete or retain the associated resources of the cluster. Before you delete a cluster, manually clean up workloads such as Deployments, StatefulSets, Jobs, and CronJobs. Otherwise, the cluster deletion may fail. |
| ModifyCluster | Modify cluster configuration | Modifies the configurations of an ACK cluster. |
| UpgradeCluster | Upgrade cluster | Upgrades an ACK cluster to mitigate potential security and stability risks associated with outdated versions and enable new features of the latest cluster version. You can call the UpgradeCluster operation to manually upgrade the cluster. |
| DescribeClustersV1 | List clusters | Invokes the DescribeClustersV1 operation to query a list of conditional ACK clusters, such as those with a specified cluster type and cluster specifications, under the current account. |
| DescribeClustersForRegion | List clusters in a specified region | Queries all clusters in a specified region. |
| DescribeClusterDetail | Query the details of a specified cluster | Queries the details of a specified cluster by cluster ID. |
| DescribeClusterResources | Query the associated resources of a specified cluster | Queries the associated resources of a specified cluster. When you use Container Service for Kubernetes (ACK), you also use resources of other associated Alibaba Cloud services. You can call this operation to query the associated resources of a specified cluster, such as VPCs and SLB instances. To query node pools or nodes, call the DescribeClusterNodePools or DescribeClusterNodes operation. |
| DescribeKubernetesVersionMetadata | Query kubernetes version details | Queries the details of Kubernetes versions, including version information, release and expiration dates, compatible operating systems, and used runtimes. |
| DescribeUserClusterNamespaces | Query cluster namespaces visible to a Resource Access Management (RAM) user or role | Queries the Kubernetes namespaces in an ACK cluster for which the current Resource Access Management (RAM) user or role has been granted RBAC access permissions. In ACK clusters, Kubernetes namespaces keep the access permissions and resources of cluster visitors logically isolated. Users granted RBAC permissions only for a specific namespace cannot access resources in other namespaces of the cluster. You can invoke the DescribeUserClusterNamespaces operation to view the RBAC access permissions granted to the current Resource Access Management (RAM) user or role for resources in specific namespaces within a specified ACK cluster. |
| DescribeClusterLogs | Retrieve cluster logs | Retrieves the log data of a cluster for root cause analysis and tracing when cluster issues occur. |
| DescribeUserQuota | Query cluster quotas | Queries the quotas for ACK clusters, node pools, and nodes. To increase a quota, go to Quota Center. |
| MigrateCluster | Migrate a basic edition cluster to a pro edition cluster | Migrates a cluster. |
| DescribeClusterUserKubeconfig | Retrieve cluster kubeconfig | Retrieves the kubeconfig of a cluster. |
| DescribeSubaccountK8sClusterUserConfig | Obtain the cluster KubeConfig for a specified RAM user or RAM role | Issues or retrieves the KubeConfig credentials for a specified Resource Access Management (RAM) user or RAM role within an Alibaba Cloud account. As an administrator responsible for cluster permission management, you can use an Alibaba Cloud account to issue KubeConfig credentials that contain identity information and are used to connect to an ACK cluster. You can invoke the DescribeSubaccountK8sClusterUserConfig operation to issue or obtain the KubeConfig for any RAM user or role within the account. |
| ListUserKubeConfigStates | Retrieve kubeConfig status list for all clusters of a specified user | Queries the KubeConfig status list for all clusters of the current user. |
| ListClusterKubeconfigStates | List issued kubeConfigs for a specified cluster | Queries the list and status of KubeConfigs issued to users for a cluster. |
| UpdateK8sClusterUserConfigExpire | Update the expiration time of custom user configurations | Updates the expiration time of the KubeConfig file issued for an ACK cluster. By default, the KubeConfig file expires after three years. You can use an Alibaba Cloud account to invoke the UpdateK8sClusterUserConfigExpire operation to specify the expiration time of the KubeConfig file issued for a Resource Access Management (RAM) user or role in an ACK cluster. Valid values: 1 to 876000 hours. |
| RevokeK8sClusterKubeConfig | Revoke the kubeConfig of the currently logged-on user | Revokes the cluster KubeConfig credentials of the current logon Alibaba Cloud account or Resource Access Management (RAM) user. You can invoke the RevokeK8sClusterKubeConfig operation to revoke the credentials. After the revocation succeeds, the cluster generates a new KubeConfig and the original KubeConfig becomes invalid. |
| CleanClusterUserPermissions | Revoke issued kubeConfig credentials and RBAC permissions for a specified user in a specified cluster | Revokes the issued KubeConfig credentials and RBAC permissions of a specified user in a specified cluster to clean up KubeConfigs with security risks. |
| CleanUserPermissions | Clean up kubeConfig credentials and RBAC permissions issued to a specified user across all clusters | Cleans up the KubeConfig credentials and revokes the RBAC permissions issued to a specified user. This operation is applicable to risky users, such as resigned employees or users with frozen accounts. |
Node pools
|
API |
Title |
Description |
| CreateClusterNodePool | Create a node pool | Creates a node pool, which is a logical collection of nodes with the same property that allows unified management and O&M of nodes, such as node upgrades and elastic scaling. You can further use the automated O&M capabilities of node pools to reduce O&M costs by using features such as automatic repair of OS CVE vulnerabilities, automatic recovery of faulty nodes, and automatic upgrades of kubelet and containerd versions. You can call CreateClusterNodePool to create a node pool for a cluster. |
| DeleteClusterNodepool | Delete a node pool | Deletes an unused node pool. When a node pool is deleted, all pods on its nodes are deleted, which may trigger rescheduling. If rescheduling fails, your services may be affected. Ensure that the cluster has sufficient resources for rescheduling. |
| DescribeClusterNodePoolDetail | ノードプールの構成を照会します | クラスター内の指定されたノードプールの構成を照会します。 |
| DescribeClusterNodePools | List node pools | Queries all node pools in a cluster. |
| DescribeNodePoolVuls | Query node pool vulnerabilities | Invokes the DescribeNodePoolVuls API operation to query the details of security vulnerability in a node pool based on the node pool ID, including vulnerability names and levels. Regularly scan node pools for security vulnerability to improve cluster security. |
| ModifyClusterNodePool | Update node pool configurations | Updates the configurations of a specified node pool based on the node pool ID. |
| ScaleClusterNodePool | Scale out a node pool | Scales out a node pool to ensure that the number of nodes is sufficient to support your workloads. |
| AttachInstancesToNodePool | Add existing nodes to a node pool | Adds existing ECS instances to a node pool in an ACK cluster as worker nodes, or re-adds removed worker node instances to a node pool. |
| RemoveNodePoolNodes | Remove nodes from a node pool | Removes nodes from a node pool in a cluster and adjusts the expected number of nodes when the nodes are no longer needed. When removing nodes, you can specify whether to release the Elastic Compute Service (ECS) instances and whether to automatically drain the nodes. Node removal involves pod migration and may affect your services. Perform this operation during off-peak hours and back up your data in advance. |
| UpgradeClusterNodepool | Upgrade a node pool | Upgrades the kubelet version (recommended to be consistent with the control plane version), operating system version, or container runtime version of a specified node pool in a cluster. |
| RepairClusterNodePool | Repair node pool nodes | Repairs a node pool in a cluster. |
| FixNodePoolVuls | Fix node pool vulnerabilities | Scans Elastic Compute Service (ECS) nodes for security vulnerability on a regular basis and provides corresponding fix suggestions and methods. Fixing certain Common Vulnerabilities and Exposures (CVEs) may require restarting nodes. Ensure that the cluster has sufficient nodes for draining operations. You can invoke the FixNodePoolVuls operation to fix node vulnerabilities in a specified node pool of a cluster to improve cluster security. |
| ModifyNodePoolNodeConfig | Modify node configurations in a node pool | Modifies the node configurations in a node pool of a cluster, such as kubelet configurations and node rolling update configurations. Modifying node configurations updates the configurations in batches and restarts kubelet, which may affect node and workload operations. Perform this operation during off-peak hours. |
| SyncClusterNodePool | Synchronize a node pool | Synchronizes a cluster node pool, including node pool metadata and information about the nodes in the node pool. |
| DescribeClusterAttachScripts | Query the script for adding existing nodes to a cluster node pool | Queries the script for adding existing nodes to a cluster node pool. If you need to add existing ECS instances to an ACK cluster as worker nodes or re-add removed worker nodes to a node pool, you can manually add the existing nodes to a node pool. You can call this operation to obtain the script for adding existing nodes. |
| CreateAutoscalingConfig | Create an elastic scaling configuration | Creates an automatic scaling configuration that enables the system to automatically increase or decrease compute resources based on configured elastic scaling rules to meet cluster workload requirements. During the creation procedure, you can specify elastic scaling metrics and thresholds, scale-out order, and cool-down periods. |
Nodes
|
API |
Title |
Description |
| DescribeClusterNodes | List cluster nodes | Queries a list of nodes that meet specified conditions. |
| DeleteClusterNodes | Remove cluster nodes | Removes nodes from a cluster. You can specify whether to release the associated ECS instances and whether to automatically drain the nodes during the removal process. |
| AttachInstances | Add existing ECS instances to a cluster | Adds existing ECS instances to an ACK cluster as worker nodes, or re-adds removed worker node instances to a node pool. |
Components
|
API |
Title |
Description |
| InstallClusterAddons | Install cluster components | To enhance Kubernetes capabilities, ACK clusters support various components, such as managed core components, and application, logging and monitoring, networking, storage, and security components. You can call the InstallClusterAddons operation to install components by specifying the component name and version. |
| UnInstallClusterAddons | Uninstall cluster add-ons | Uninstalls specified add-ons from a cluster and specifies whether to delete the associated Alibaba Cloud resources. |
| ListAddons | List available add-ons | Queries the list of available add-ons and their details based on parameters such as region, cluster type, cluster profile, and cluster version. The details include whether the add-on is managed, the schema for custom parameters, and compatible operating system architectures. |
| ListClusterAddonInstances | List installed add-on instances in a cluster | Retrieves a list of installed add-on instances in a specified cluster and queries related information about the add-on instances, including the add-on version and status. |
| GetClusterAddonInstance | Query the details of a specified component instance in a cluster | Queries the details of a specified component in a cluster, including the version, parameter settings, and logging status of the component instance. |
| DescribeAddon | Query the information about a specified component | Queries the information about a target component based on parameters such as the specified region, cluster type, cluster profile, cluster version, and component name. The information includes whether the component is managed, the component category, the supported custom parameter schema, the compatible operating system architecture, and the minimum cluster version required by the component version. |
| ModifyClusterAddon | Modify cluster add-on instance configuration | Modifies the configuration of an installed cluster add-on instance. Modifying the configuration may affect your workloads. Evaluate the impact, perform this operation during off-peak hours, and back up your data in advance. |
| UpgradeClusterAddons | Upgrade cluster add-ons | Upgrades the versions of cluster add-ons to benefit from the feature optimizations provided by the new versions. |
| ListClusterAddonInstanceResources | Query resources of a cluster component instance | Queries the resources contained in an installed cluster component instance, including Kubernetes cluster resources and Helm releases. |
Permissions
|
API |
Title |
Description |
| DescribeUserPermission | Query cluster authorization information for a RAM user or role | Queries the details of cluster permissions granted to a Resource Access Management (RAM) user or role. In an ACK cluster, you can create and specify different access permissions for different RAM users or roles to ensure secure access control and resource isolation. You can invoke the DescribeUserPermission operation to query the details of cluster permissions granted to a RAM user or role, including accessible resources, permission scope, preset role types, and permission sources. |
| GrantPermissions | Update cluster authorization information for a RAM user or role | Updates the RBAC access permissions of a Resource Access Management (RAM) user or RAM role for a cluster. By default, RAM users or roles that are not the cluster creator and have not been granted permissions at all cluster dimensions do not have any RBAC permissions in the cluster. You can call the GrantPermissions operation to update the RBAC access permissions of the RAM user or role, including the accessible resources, the scope of the permissions, and the preset role types, to better manage secure access control in cluster management. |
| UpdateUserPermissions | Update RBAC permissions for a specified RAM user or RAM role | Updates the Role-Based Access Control (RBAC) access permissions of a Resource Access Management (RAM) user or RAM role in an ACK cluster. By default, RAM users, RAM roles, and users other than the cluster creator do not have any RBAC access permissions in the cluster. You can invoke the UpdateUserPermissions operation to update the RBAC access permissions of a RAM user or RAM role, including the accessible resources, the scope of the permissions, and the preset role types, for better cluster management and secure access control. |
| CheckServiceRole | Check service role authorization status | Checks whether the specified service role permissions are granted to the current service account. Container Service can call other cloud services related to the service roles, such as ECS, OSS, NAS, and SLB, only after the corresponding role permissions are granted. |
Security
|
API |
Title |
Description |
| ScanClusterVuls | Scan cluster security vulnerabilities | Invokes the ScanClusterVuls API operation to scan ACK clusters for potential security vulnerabilities, including container workload vulnerabilities, third-party software vulnerabilities, CVE vulnerabilities, WebCMS vulnerabilities, and Windows operating system vulnerabilities. Regularly scan clusters for security vulnerabilities to improve cluster security. |
| DescribeClusterVuls | Query cluster security vulnerability information | Invokes the DescribeClusterVuls operation to query the security vulnerability details of a cluster by cluster ID, including the vulnerability name, type, and severity level. Regularly scan clusters for security vulnerabilities to improve cluster security. |
| UpdateResourcesDeleteProtection | Update the deletion protection status of a specified resource | Updates the deletion protection status of a specified resource. Supported resource types include namespaces and services. You can use this operation to enable deletion protection for namespaces or services that involve critical workloads or sensitive data to prevent accidental deletion and reduce maintenance costs. |
| DescribeResourcesDeleteProtection | Query deletion protection status of specified resources | Queries whether deletion protection is enabled for specified resources in a cluster. Currently, supported resources include namespaces and services. |
| DeployPolicyInstance | Deploy a policy rule instance | Creates and deploys a policy instance in an ACK cluster by specifying the security policy type, governance action (alert or block), and namespace scope. You can call this operation to deploy a policy rule instance in a specified namespace of a cluster. |
| ModifyPolicyInstance | Update a policy rule instance | Updates a policy rule instance in a specified cluster. You can modify the governance action, such as alert or block, and the namespace scope of the policy instance. |
| DeletePolicyInstance | Delete a policy rule instance | Deletes a policy rule instance in a specified cluster. |
| DescribePolicies | Query policy governance rule libraries | Queries the list of policy governance rule libraries for container security policies in ACK clusters. These policies provide various built-in rule libraries, including Compliance, Infra, K8s-general, and PSP, to ensure secure container operations in production environments. |
| DescribePolicyDetails | Query the details of a specified policy governance rule | Queries the details of a specified policy governance rule. ACK cluster container security policies provide a comprehensive built-in rule library that includes Compliance, Infra, K8s-general, and PSP to ensure the secure operation of containers in production environments. You can call this operation to query details such as the rule template description, rule governance action, and rule governance severity. |
| DescribePolicyGovernanceInCluster | Retrieve cluster policy governance details | Queries the details of policy governance in a specified ACK cluster. Container security policies for ACK clusters provide a rich built-in rule library, including Compliance, Infra, K8s-general, and PSP, to ensure the secure operation of containers in production environments. You can call this operation to obtain information such as the counts of enabled policies at different severity levels, policy governance audit logs, and interception and alerting status. |
| DescribePolicyInstances | List policy instances | Queries the details of specified policy rule instances in an ACK cluster, such as the policy description and governance level. You can select a security policy type, configure related enforcement actions and scopes, and create and deploy a policy instance in the cluster. |
| DescribePolicyInstancesStatus | View instance deployment details for policy rules | Queries the deployment status of instances for different policy types in a cluster, including the number of enabled instances for each policy rule and the number of enabled policy types at different governance levels. |
Cluster inspection and diagnostics
|
API |
Title |
Description |
| RunClusterCheck | Initiate a cluster check | Provides comprehensive Kubernetes cluster check capabilities, including cluster upgrade, cluster migration, component installation, component upgrade, and node pool checks. The container intelligent O&M platform automatically triggers checks before upgrade, migration, or installation operations. You can perform change operations only after the checks pass. You can also manually call the RunClusterCheck operation to perform cluster checks. Regularly check and maintain clusters to prevent security risks. |
| ListClusterChecks | List all cluster checks | Queries the list of cluster checks and related information based on the cluster ID. The container intelligent O&M platform provides comprehensive Kubernetes cluster check capabilities, including cluster upgrade checks, cluster migration checks, component installation checks, component upgrade checks, and node pool checks. The related information includes the check type, status, creation time, and completion time. |
| GetClusterCheck | Query the details of a specific cluster check | Queries the details of a specific check task based on the cluster ID and check task ID. The intelligent O&M platform for containers provides comprehensive Kubernetes cluster check capabilities, including cluster upgrade checks, cluster migration checks, component installation checks, component upgrade checks, and node pool checks. The response includes information such as the check status, specific check items, and the creation and completion time of the check. |
| CreateClusterInspectConfig | Create cluster inspection configuration | Creates a cluster inspection configuration. |
| UpdateClusterInspectConfig | Update cluster inspection configuration | Updates the cluster inspection configuration. |
| GetClusterInspectConfig | Retrieve cluster inspection configuration | Retrieves the cluster inspection configuration. |
| RunClusterInspect | Create a cluster inspection report | Initiates a cluster inspection and creates an inspection report. |
| ListClusterInspectReports | Retrieve cluster inspection reports | Retrieves a list of cluster inspection reports. |
| GetClusterInspectReportDetail | Retrieve cluster inspection report details | Retrieves the details of a cluster inspection report. |
| DeleteClusterInspectConfig | Delete cluster inspection configuration | Deletes the cluster inspection configuration. |
| CreateClusterDiagnosis | Initiate cluster diagnosis | Initiates a cluster diagnosis. |
| GetClusterDiagnosisResult | Retrieve cluster diagnosis results | Retrieves the cluster diagnosis results. |
| GetClusterDiagnosisCheckItems | Retrieve cluster diagnostic check items | Retrieves the cluster diagnostic check items. |
Orchestration templates
|
API |
Title |
Description |
| CreateTemplate | Create an orchestration template | Creates an orchestration template. An orchestration template defines and describes a set of Kubernetes cluster resources in a declarative way to specify how applications should run or be configured. You can use these templates to automate the deployment and management of resources in a cluster, such as Pods, Services, Deployments, ConfigMaps, and PersistentVolumes. You can call the CreateTemplate operation to create an orchestration template. |
| DescribeTemplateAttribute | Query the details of a specified orchestration template | Queries the details of a specified orchestration template, including access permissions, YAML content, and tags. An orchestration template defines and describes a set of Kubernetes cluster resources declaratively to specify how an application should run or be configured. |
| DescribeTemplates | List all orchestration templates | Queries a list of orchestration templates and retrieves their details, including access permissions, YAML content, and tags. An orchestration template defines and describes a set of Kubernetes cluster resources in a declarative manner to specify how an application should run or be configured. |
| UpdateTemplate | Update an orchestration template | Updates the configuration of an orchestration template. An orchestration template defines and describes a set of Kubernetes cluster resources declaratively to specify how an application should run or be configured. |
| DeleteTemplate | Delete an orchestration template | Deletes an orchestration template that is no longer needed. |
Triggers
|
API |
Title |
Description |
| CreateTrigger | Create a trigger | Creates a trigger for a cluster application to redeploy pods when specified conditions are met. |
| DeleteTrigger | Delete a trigger | Deletes an application trigger. |
| DescribeTrigger | Query triggers | Queries triggers that meet specified conditions. |
Tags
|
API |
Title |
Description |
| ListTagResources | Query the tag list of clusters | Queries the tag list of clusters. You can add tag key-value pairs to clusters so that developers and O&M engineers can classify and manage clusters more flexibly. This better supports requirements such as monitoring, cost analysis, and tenant isolation. You can call the ListTagResources operation to obtain the list of resource tags and query tag details, such as key-value pairs and associated clusters. |
| TagResources | Bind tags to a cluster | Adds label key-value pairs to a cluster so that cluster developers or O&M engineers can more flexibly perform categorization and management, and better support requirements such as monitoring, cost analysis, and tenant isolation. You can invoke the TagResources operation to attach labels to a cluster. |
| UntagResources | Delete cluster tags | Deletes resource tags when you no longer need the tag key-value pairs of a cluster. |
| ModifyClusterTags | Update all tags of a cluster | Updates the tags of a cluster. You can add tag key-value pairs to a cluster so that developers and O&M engineers can classify and manage clusters more flexibly and better support requirements such as monitoring, cost analysis, and tenant isolation. |
Alerts
|
API |
Title |
Description |
| StartAlert | Start alert rule | Starts the specified alert rule. |
| UpdateContactGroupForAlert | Update contact group for alert metrics | Sets the specified contact group for an alert rule set in an ACK cluster. |
| StopAlert | Stop alert rules | Stops an entire alert rule group or a single alert rule in the ACK alert center. |
| DeleteAlertContact | Delete alert contacts | Deletes ACK alert contacts. |
| DeleteAlertContactGroup | Delete alert contact groups | Deletes ACK alert contact groups. |
Logs
|
API |
Title |
Description |
| UpdateControlPlaneLog | Modify control plane component log configurations for an ACK managed cluster | Modifies the log configurations for control plane components in an ACK managed cluster. ACK managed clusters support collecting control plane component logs and delivering them to your Simple Log Service (SLS) project. Control plane components include core components such as Kube API Server, Kube Scheduler, Kube Controller Manager, and Cloud Controller Manager. You can call the UpdateControlPlaneLog operation to modify the log configurations for control plane components, such as the log retention period and the components to collect. |
| CheckControlPlaneLogEnable | Query the log configuration of control plane components in an ACK managed cluster | Queries the log configuration of control plane components in an ACK managed cluster. ACK managed clusters support collecting logs of control plane components and delivering them to your Simple Log Service (SLS) project. Control plane components include core components such as Kube API Server, Kube Scheduler, Kube Controller Manager, and Cloud Controller Manager. You can call the CheckControlPlaneLogEnable operation to query the current log configuration of control plane components, including the log retention period and collected components. |
| GetClusterAuditProject | Retrieve the SLS project for cluster API server audit logs | Queries whether the API server audit feature is enabled for a cluster and the Simple Log Service (SLS) project associated with the API server audit logs. |
| UpdateClusterAuditLogConfig | Update cluster audit log configuration | Updates the audit log configuration of a specified ACK cluster. You can call this operation to enable or disable the audit log feature, or update the audit log configuration to record requests to the Kubernetes API and their results for tracing cluster operation history and troubleshooting cluster faults. |
Events
|
API |
Title |
Description |
| DescribeEventsForRegion | Query events in a specified region | Queries all events in a specified region. |
| DescribeEvents | Query event details | Queries the details of cluster operation events, such as cluster creation, cluster modification, node pool creation, node pool scale-out, add-on installation, and cluster upgrades. You can call this operation to retrieve detailed information about specific events, including the event level, status, and occurrence time. |
| DescribeClusterEvents | Query events of a specified cluster | Queries the events of a specified cluster. Cluster operation events include cluster creation, cluster modification, node pool creation, node pool scale-out, add-on installation, and cluster upgrade. You can call the DescribeClusterEvents operation to retrieve a list of events that occurred in the specified cluster and query event details, including the event level, event status, and event time. |
Tasks
|
API |
Title |
Description |
| DescribeTaskInfo | Query task details | Queries the details of a cluster task, such as the task type, running status, and running stage. |
| PauseTask | Pause a task | Pauses a running cluster task. |
| ResumeTask | Resume a task | Resumes a paused cluster task. |
| CancelTask | Cancel a task | Cancels the execution of a cluster task. |
| DescribeClusterTasks | List cluster tasks | Queries a list of tasks in a cluster. |
O&M plans
|
API |
Title |
Description |
| ListOperationPlansForRegion | List automated O&M task execution plans in a specified region | Queries the latest 100 automated O&M execution plans in a specified region. When features such as Auto Mode for intelligent cluster management, automatic cluster upgrades, and automated O&M for node pools are enabled, you can use this operation to query system-generated O&M plans and their execution status, such as cluster upgrades and node pool CVE fixes. |
| ListOperationPlans | List automated O&M task execution plans | Retrieves the list of automated O&M execution plans. |
| CancelOperationPlan | Cancel automated O&M task execution plan | Cancels an existing but unexecuted automated O&M task execution plan. |
Others
|
API |
Title |
Description |
| GetUpgradeStatus | (Deprecated) query cluster upgrade status | Queries the upgrade status of a cluster by cluster ID. |
| PauseClusterUpgrade | (Deprecated) pause cluster upgrade | Pauses a cluster upgrade. |
| CancelClusterUpgrade | (Deprecated) cancel cluster upgrade | Cancels the upgrade of an ACK cluster. |
| ResumeUpgradeCluster | (Deprecated) resume cluster upgrade | Resumes the upgrade of a cluster that is paused during an upgrade based on the cluster ID. |
| DescribeAddons | (Deprecated) query cluster component details | Queries the details of all components supported by the platform. |
| DescribeClusterAddonsVersion | (Deprecated) query cluster component versions | Queries the details of all installed components in a cluster based on the cluster ID. |
| DescribeClusterAddonInstance | (Deprecated) query cluster add-on instance information | Queries the version, state, and configuration of installed cluster add-ons. |
| DescribeClusterAddonMetadata | (Deprecated) query cluster add-on metadata | Queries the metadata of a specified add-on version available for a specific cluster, including the add-on version and configurable parameters. |
| DescribeClusterAddonsUpgradeStatus | (Deprecated) Query cluster component upgrade status | Queries the upgrade status of components by name. |
| UpdateNodePoolComponent | Update a node component | Updates a node component. |
| InstallNodePoolComponents | Install node components | Installs node components and allows you to configure the components and specify the nodes on which to install them. |
| UpdateKMSEncryption | Update encryption at rest configuration for secrets | Updates the encryption at rest configuration for Secrets in a specified cluster. |
| CreateAutoRepairPolicy | Create a self-healing rule | Creates a self-healing rule. |
| DeleteAutoRepairPolicy | Delete a self-healing rule | Deletes a self-healing rule. |
| ModifyAutoRepairPolicy | Modify a self-healing rule | Modifies a self-healing rule. |
| DescribeAutoRepairPolicy | Query self-healing rules | Queries self-healing rules. |
| ListAutoRepairPolicies | Retrieve self-healing rules | Retrieves a list of self-healing rules. |