Changes to CreateCluster parameter behavior

Updated at:

On October 15, 2024, Container Service for Kubernetes (ACK) changes the charge_type field behavior in the CreateCluster operation to standardize API behavior.

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 cluster billing method. The following table describes the changes:

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 cluster control plane (applicable only to ACK dedicated clusters) associated with the cluster API server.

Specifies the payment method only for CLB instances associated with the cluster API server.

Post-change configuration

After the change, use these fields to configure billing when calling CreateCluster:

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

Auto-renewal period

auto_renew_period

nodepools[].scaling_group.auto_renew_period

master_auto_renew_period