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

  1. Log on to the ACK console.
  2. In the left-side navigation pane, click Clusters.
  3. On the Clusters page, click Create Kubernetes Cluster in the upper-right corner of the page.
  4. In the Select Cluster Template dialog box, select the type of the cluster that you want to create and click Create.
    On the cluster configurations page that appears, set the parameters. For more information about the parameters, see Create a cluster of ACK Proprietary Edition.Create an ACK cluster
  5. 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.
  6. 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.
  7. 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.