Updated on 2024-10-31 GMT+08:00

Deploying a Component to a CCE Cluster

This section describes how to deploy a component to a CCE cluster in the environment (for example, env-cce-az1) created in Preparations.

Procedure

  1. Log in to ServiceStage.
  2. Choose Application Management. The application list is displayed.
  3. Click Create Component in the Operation column of the application created in Creating an Application, for example, test-app.
  4. In the Basic Information area, set the following mandatory parameters. Retain the default values for other parameters.

    Parameter

    Description

    Component Name

    Enter a component name.

    It is recommended that the component name should contain the AZ information of the CCE cluster bound to the component environment, for example, test-comp-az1.

    Component Version

    Click Generate.

    Environment

    Select the environment created in Creating Environments, for example, env-cce-az1.

    Application

    Select the application created in Creating an Application, for example, test-app.

  5. In the Component Package area, set the following mandatory parameters. Retain the default values for other parameters.

    Parameter

    Description

    Stack

    Select Java.

    Upload Method

    1. Select OBS.
    2. Click Software Package and select weather-1.0.0.jar uploaded in Uploading Software Packages.

  6. In the Build Job area, set the following mandatory parameters. Retain the default values for other parameters.

    Parameter

    Description

    Organization

    Select the organization created in Creating an Organization.

    An organization is used to manage images generated during component build.

    Build

    Select Use current environment to use the CCE cluster in the deployment environment to which the component belongs to build an image.

  7. Click Next.
  8. Click Create and Deploy and wait until the component is created.