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

Managing Application Components

After a component is created or deployed, you can perform the following management operations:

Viewing Application Components

  1. Log in to ServiceStage and choose Application Management > Application List.
  2. Click an application. The Overview page is displayed.
  3. Click the Component List tab to view the list of components created for the application.

Deploying a Component

For details about how to deploy a component, see Deploying a Component.

Updating Component Source

After a component is created, you can update the software package, version, and environment configuration of the component.

Components whose runtime system is Docker do not support this operation.

  1. Log in to ServiceStage and choose Application Management > Application List.
  2. Click an application. The Overview page is displayed.
  3. Click the Component List tab.

    • To update the source of a single component, select the component and click Update Source in the Operation column.
    • To update the component sources in batches, select multiple components and click Update Component Source.

  4. Set Software Package.

    • Source code repository: Create authorization by referring to Authorizing a Repository and set the code source.
    • Software Package:
      • Click Replace Software Package and select the corresponding software package from OBS. Upload the software package to the OBS bucket in advance. For details, see Uploading a File.

  5. Set the target version and choose the environment to be upgraded.
  6. Click Confirm.

Deleting Components

  1. Log in to ServiceStage and choose Application Management > Application List.
  2. Click an application. The Overview page is displayed.
  3. Click the Component List tab.

    • Delete a single component.

      Select the component to be deleted and click Delete in the Operation column. In the displayed dialog box, click OK.

    • Delete components in batches.

      Select the components to be deleted and click Delete Component. In the displayed dialog box, click OK.

Creating a Pipeline for a Component

  1. Log in to ServiceStage and choose Application Management > Application List.
  2. Click an application. The Overview page is displayed.
  3. On the Component List tab, click a component to go to the Overview page.
  4. Choose Pipeline > Create Pipeline to create a pipeline. For details, see Managing Pipelines.

    • Pipelines cannot be created for component instances deployed on VMs.
    • Pipelines cannot be created for components whose runtime system is Docker.

Viewing Application Component Building

  1. Log in to ServiceStage and choose Application Management > Application List.
  2. Click an application. The Overview page is displayed.
  3. On the Component List tab, click a component to go to the Overview page.
  4. Click the Build Job tab to view the status of the application component build job. For details, see Creating a Source Code Job.

Maintaining Component Instances

  1. Log in to ServiceStage and choose Application Management > Application List.
  2. Click an application. The Overview page is displayed.
  3. On the Environment View tab, select an environment.

    • You can view the deployment of the application component in each environment.
    • (Optional) Select an application component version whose type is Microservice and click Console to go to the microservice console for service governance. For details, see Microservice Governance.
    • Select an application component version and click Perform O&M. The Overview page is displayed, where you can view the component instance details.
    • Select an application component version and click Operation. You can perform O&M operations such as component upgrade, scaling, event viewing, start/stop, restart, rollback, and deletion. For details, see Application O&M.
    • Select All or the corresponding application component, and click Upgrade Component to change the version number, software package, or image package of the component.

Managing Component Instance Access Mode

  1. Log in to ServiceStage and choose Application Management > Application List.
  2. Click an application. The Overview page is displayed.
  3. On the Component List tab, click a component to go to the Overview page.

    You can view the component version on the card of the corresponding environment.

  4. Select a component whose status is Running and click Set. On the Access Mode page that is displayed, click Add Service.
  5. Set the following parameters. Parameters marked with an asterisk (*) are mandatory.

    Parameter

    Description

    *Service Name

    Sets the name of the service to be accessed.

    Access Mode

    Sets the service access mode. The options are as follows:

    • Intra-cluster access: allows access from other services in the same cluster over TCP/UDP.
    • Intra-VPC access: allows access from other services in the same VPC over TCP/UDP.
    • Public network access: allows access from the Internet over TCP/UDP, including EIP.

    Intra-VPC load balancing

    This parameter is valid when Access Mode is set to Intra-VPC access.

    * Access Type

    • This parameter is valid when Access Mode is set to Intra-VPC access and Intra-VPC load balancing is enabled.
    • This parameter is valid when Access Mode is set to Public network access.

    Service Affinity

    This parameter is valid when Access Mode is set to Intra-VPC access or Public network access.

    Port Mapping

    Sets Protocol, Container Port, and Access Port for accessing the service.

  6. Click OK.