Help Center> ServiceStage> User Guide> Component Management> Managing Component Instances
Updated on 2024-05-28 GMT+08:00

Managing Component Instances

In a VM environment, a component instance is a running process of a component on a VM. In a CCE environment, a component instance is a pod, which is the minimum basic unit for CCE to deploy applications or services.

The number of VM-deployed component instances is the number of VMs selected during component deployment. The number of CCE-deployed component instances is the number of instances selected during component deployment, that is, the number of pods.

After a component is created and deployed, you can manage component instances on the component Instance List page.

Procedure

  1. Log in to ServiceStage.
  2. Use either of the following methods to go to the Instance List page.

    • On the Application Management page, click the application to which the component belongs, and click the target component in Component List. Alternatively, right-click the component and go to the component Overview page from the shortcut menu, and choose Instance List in the left navigation pane.
    • On the Component Management page, click the target component. Alternatively, right-click the component and go to the component Overview page from the shortcut menu, and choose Instance List in the left navigation pane.

  3. On the Instance List page, you can perform the following operations.

    Operation

    Description

    Restart a single instance

    If an instance of a component deployed in the Kubernetes environment is abnormal, you can delete the instance to restart it.

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

    View instance running monitoring information

    By viewing the instance running monitoring information, you can learn about the CPU and memory usage of a single running instance.

    1. In the instance list, click next to the target instance.
    2. Click the Monitor tab to view the running monitoring information about the instance.

    View instance running events

    ServiceStage allows you to view details about events that occur during the running of a specified instance.

    1. In the instance list, click next to the target instance.
    2. Click the Event tab to view events that occur during instance running.

    View running instance containers

    For components deployed in the Kubernetes environment, ServiceStage allows you to view information about the container where a specified instance runs, including the container name, running status, and mounted image.

    1. In the instance list, click next to the target instance.
    2. Click the Container tab to view the information about the container where the instance runs.