View Microservices Gateway Information
This section describes how to view microservices gateway information.
Prerequisites
-
The KubeSphere Spring Cloud extension must be installed and enabled on the KubeSphere platform.
-
You need to join a project and have the Spring Cloud Microservices View permission in the project. For more information, see Project Members and Project Roles.
Steps
-
Log in to the KubeSphere web console with a user who has Spring Cloud Microservices View permissions and enter your workspace.
-
Click Spring Cloud > Microservices Gateway in the left navigation pane.
-
Select a project from the drop-down list in the upper left corner of the page.
The Microservices Gateway page provides the following information:
Parameter Description Type
The type of the gateway. For a microservices gateway, the parameter value is Microservices Gateway.
Status
The current status of the gateway.
-
Running: The microservices gateway is running normally.
-
Updating: The microservices gateway is being created or its settings are being updated.
Creator
The user who created the gateway.
Creation Time
The time when the gateway was created.
Access Mode
The access mode of the gateway.
-
NodePort: The system maps a node’s port to the service port, allowing access to the service via the node’s IP address and the node port.
-
LoadBalancer: The system allocates an external IP address for the service based on a NodePort 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, enabling access to the service via the external IP address. To achieve this functionality, a LoadBalancer type service requires support from a load balancer plugin and the underlying infrastructure environment, and relevant annotations need to be set. For more information, please contact your infrastructure environment provider.
-
ClusterIP: The gateway cannot be accessed from outside the cluster and can only be accessed within the cluster via a virtual IP address.
Gateway Address
The access address of the gateway.
-
If the external access mode of the gateway is NodePort, the gateway address is the IP address of a cluster node. Clients can access the backend service of the Ingress through the IP address and port of any cluster node.
-
If the external access mode of the gateway is LoadBalancer, the gateway address is the address of the load balancer.
-
If the gateway’s access mode is ClusterIP, the gateway cannot be accessed from outside the cluster, and the Gateway Address is the virtual IP address of the gateway within the cluster.
Node Port
The HTTP and HTTPS node ports for the gateway service. Displayed only when the gateway’s external access mode is NodePort.
Replicas
The number of pod replicas for the gateway workload.
-