Updated on 2024-05-28 GMT+08:00

Binding a CCE Cluster

Before deploying components in a Kubernetes environment, bind only one CCE cluster to the environment so that components can be deployed and run in the Kubernetes environment.

Prerequisites

  1. A CCE cluster to be bound has been created and is in the running state. The cluster must be in the same VPC as the target environment and cannot be managed by other environments.

    CCE clusters are used to deploy and run components in Kubernetes environments.

    For details about how to create a CCE cluster, see Buying a Cluster.

    For details about how to add a node to the CCE cluster, see Creating a Node.

    • ServiceStage supports Elastic Cloud Server (VM) and BMS nodes in CCE clusters.
    • For details about the OSs supported by CCE cluster nodes, see Node OS.
    • Container engines of CCE cluster nodes support Docker and Containerd. For details about relationship between node OSs and container engines, see Container Engine.
  2. A Kubernetes environment has been created. For details, see Creating an Environment.

Procedure

  1. Log in to ServiceStage.
  2. On the Environment Management page, click the target environment.
  3. In the Resource Settings area, choose Cloud Container Engine from Compute.

    Figure 1 Binding a CCE cluster

  4. Click Bind now.

    • If the CCE cluster to be bound has been created, select the cluster from the cluster drop-down list and click OK.
    • If no CCE cluster is created, go to the CCE console as prompted, create a CCE cluster by referring to Prerequisites, and bind the CCE cluster.

    In a Kubernetes environment, if IPv6 is enabled for the selected VPC and CCE clusters are managed, select a CCE cluster with IPv6 enabled. Otherwise, the Java chassis microservice registered on the exclusive microservice engine with security authentication enabled in the VPC fails to register the discovery address using IPv6.

    For details, see What Should I Do If the Service Registration Fails After IPv6 Is Enabled for the Exclusive Microservice Engine with Security Authentication Enabled?

Follow-Up Operations

  • Click the Node List tab to view details about each node in the CCE cluster.
  • Click View Resource Details to view CCE cluster details on the CCE console.