• Cloud Container Engine

cce
  1. Help Center
  2. Cloud Container Engine
  3. User Guide 2.0
  4. Data Migration from an Earlier Version to the Latest Version
  5. Migrating an Application
  6. Applications Created Through API or kubectl

Applications Created Through API or kubectl

If the application in the earlier CCE version is created using APIs or kubectl, use the same method to create applications of the same specifications on the cluster created in the latest CCE version. For details, see Cloud Container Engine API Reference 2.0 or Kubectl Usage Guide.

NOTE:

Stateless and stateful applications are displayed in the latest CCE version.

  • 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 Kubernetes Cluster Using 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.