This topic describes how to generate API request parameters to create a cluster of
Container Service for Kubernetes (ACK) in the ACK console. When you fail to create
an ACK cluster due to invalid parameter settings, you can use this feature to generate
API request parameters and then create the ACK cluster by calling the API.
Procedure
- Log on to the ACK console.
- In the left-side navigation pane, click Clusters.
- On the Clusters page, click Create Kubernetes Cluster in the upper-right corner of the page.
- In the Select Cluster Template dialog box, select the type of the cluster that you want to create and click Create.
- Set the cluster parameters.
To generate API request parameters, you must first specify a set of required parameters.
- For more information about the parameters that are required to create a cluster of
ACK Proprietary Edition by calling the API, see Request body parameters.
- For more information about the parameters that are required to create a cluster of
ACK Managed Edition by calling the API, see Table 1.
- After you specify the required parameters, click Generate API Request Parameters.
In the API Request Parameters dialog box, you can view the parameters that you have specified.
- Click Copy to copy the cluster configurations.
You can directly call the API to create an ACK cluster based on the copied cluster
configurations. For more information, see
Create a dedicated cluster and
Create a managed cluster.
You can also use the copied cluster configurations to create an ACK cluster from Alibaba
Cloud command-line interface (CLI). For more information, see Create a cluster.