In the cluster creation process, errors may occur due to incorrect parameter settings. This topic describes how to generate API parameters in the console.

Procedure

  1. Log on to the Container Service console.
  2. On the Clusters page, click Create Kubernetes Cluster in the upper-right corner.
    console
  3. In the upper-right corner, click Create Kubernetes Cluster. In the Select Cluster Template dialog box that appears, select the cluster type and click Create.
    The cluster configuration page appears by default. Create a Kubernetes cluster
  4. Set the parameters.
    To generate API parameters, you must set a number of required parameters first.
    • For more information about the parameters that are required to create a dedicated Kubernetes cluster, seeRequest body parameters .
    • For more information about the parameters that are required to create a managed Kubernetes cluster, seeTable 1 .
  5. After you set the required parameters, click Generate API Request Parameters.
    The parameters that are used to create the cluster are listed in the dialog box that appears.
  6. Click Copy to obtain a copy of the parameter settings.
    You can directly modify the API parameters to create a cluster. For more information, see Create a dedicated cluster and Create a managed cluster.

    You can also create a cluster through Alibaba Cloud CLI. For more information, see Create a cluster.