Updated on 2023-07-06 GMT+08:00

Applications Created Through APIs or kubectl

If the application in CCE 1.0 is created using APIs or kubectl, use the same method to create applications of the same specifications on the cluster created in CCE 2.0. For details, see Cloud Container Engine API Reference 2.0 or Connecting to a Cluster Through kubectl.

  • If you connect to the cluster through kubectl, you are advised to perform the operation in CCE 2.0. While in CCE 1.0, you need to download three certificate files and manually perform multiple steps on the client. In CCE 2.0, you only need to perform the following steps to connect to the cluster.
    1. Download the kubectl CLI configuration file. (All authentication information and cluster addresses are in the same file.)
    2. Install and configure the kubectl CLI tool. (Run the required Linux commands to complete the interconnection.)

      For details, see Connecting to a Cluster Through kubectl.

  • If you access the CCE console through APIs, the cluster management APIs need to be updated. The native Kubernetes interface does not change, so you can use Kubernetes APIs in the same way. For details, see Cloud Container Engine API Reference 2.0.