To standardize interface behavior, Container Service for Kubernetes (ACK) adjusts the behavior of the charge_type
field in the CreateCluster operation on October 15, 2024.
Effective date
October 15, 2024
Impact scope
This change applies to ACK managed clusters, ACK dedicated clusters, ACK Edge clusters, and ACK Lingjun clusters.
Change details
The charge_type
field in the CreateCluster operation specifies the billing method of the cluster. The following table describes the change of the charge_type
field:
Before change | After change |
Specifies the billing method for Classic Load Balancer (CLB) instances, Elastic Compute Service (ECS) instances in the node pool, and ECS instances in the control plane of the cluster (applicable only to ACK dedicated clusters) that are associated with the API server of the cluster. | Specifies the payment method only for CLB instances associated with the API server of the cluster. |
Configuration method after change
After the change, the following fields are recommended for specifying the payment method and related configurations when you create a cluster by calling the CreateCluster operation:
Configuration item | Configuration field | ||
CLB instance associated with the API server | ECS instance in the node pool | ECS instance in the control plane (only applicable to ACK dedicated clusters) | |
Billing method | charge_type | nodepools[].scaling_group.instance_charge_type | master_instance_charge_type |
Subscription duration | period | nodepools[].scaling_group.period | master_period |
Billing cycle | period_unit | nodepools[].scaling_group.period_unit | master_period_unit |
Auto-renewal | auto_renew | nodepools[].scaling_group.auto_renew | master_auto_renew |
Automatic payment cycle | auto_renew_period | nodepools[].scaling_group.auto_renew_period | master_auto_renew_period |