This section describes how to view the microservice list.

Prerequisites

  • The KubeSphere Spring Cloud extension must be installed and enabled on the KubeSphere platform.

  • You need to join a project and have the View Spring Cloud Microservices permission in the project. For more information, see Project Members and Project Roles.

Steps

  1. Log in to the KubeSphere web console with a user who has View Spring Cloud Microservices permissions and enter your workspace.

  2. Click  Spring Cloud > Microservices in the left navigation pane.

  3. Select a project from the drop-down list in the upper left corner of the page.

    • The microservice list displays the number of instances, the number of healthy instances, and whether the health protection mechanism has been triggered for each microservice.

      Note
      • To prevent traffic from flowing entirely to healthy instances due to too many unhealthy instances, which could then overwhelm the healthy instances and cause a cascading failure (avalanche effect), Nacos supports setting a health protection threshold. When the proportion of healthy instances to the total number of microservice instances is less than this value, the instance will be returned to the client regardless of its health status.

      • The default health protection threshold in KubeSphere is 0, meaning the health protection mechanism is not used by default. You can refer to the Nacos official documentation to set the health protection threshold for Nacos.

    • Click the search box above the list and enter a keyword to search for microservices by name.

    • Click refresh in the upper right corner of the list to refresh the list information.

    • Click cogwheel in the upper right corner of the list to customize the information displayed in the list.

  4. Click plus-square on the right side of a microservice to view all instances of that microservice.

    Parameter Description

    Name

    The name of the microservice instance.

    Weight

    The weight of the microservice instance within the microservice. Traffic sent to the microservice will be distributed to the microservice instances based on their weights.

    IP Address

    The internal access address of the microservice instance within the KubeSphere cluster.

    Port

    The access port number of the microservice instance.

    Creation Time

    The creation time of the microservice instance.