View Service List

This section explains how to view the service list.

Prerequisites

You should join a cluster and have the Application Workload Viewing permission within the cluster. For more information, refer to “Cluster Members” and “Cluster Roles”.

Steps

  1. Log in to the KubeSphere web console with a user who has the Application Workload Viewing permission, and access your cluster.

  2. Click Application Workloads > Services in the left navigation pane.

    • The service list provides the following information:

      ParameterDescription

      Name

      The name and description of the service.

      Project

      The project to which the service belongs.

      Internal Access

      The internal access mode for the service.

      • Headless: The system does not assign a virtual IP address to the service. It can be accessed internally by using the format <service name>.<project name>.svc.cluster.local or <service name>.<project name>.

      • VirtualIP: The system assigns a virtual IP address to the service for internal access within the cluster. It also supports access internally by using the format <service name>.<project name>.svc.cluster.local or <service name>.<project name>.

      • ExternalName: The service routes business traffic to other services outside the cluster. The system does not assign a virtual IP address to the service, and it can be accessed internally by using the format <service name>.<project name>.svc.cluster.local.

      External Access

      The external access mode for the service.

      • NodePort: The system maps the ports of nodes to the service ports, and the service can be accessed through the node IP address and node port.

      • LoadBalancer: On the basis of a NodePort service, the system assigns an external IP address to the service and binds the external IP address to an external load balancer. The external load balancer listens on the node port corresponding to the service, allowing access to the service through the external IP address. To achieve this, LoadBalancer-type services need support from load balancer plugins and the infrastructure environment, and relevant annotations need to be set. For more information, please contact your infrastructure environment provider.

      Creation Time

      The time the service created.

    • Choose a project from the drop-down list at the top left of the list to view services in a specific project.

    • Click the search box at the top of the list and search for services 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.