< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />

View Gateway Information

This section introduces how to view gateway information.

Prerequisites

  • KubeSphere Gateway should have been installed and enabled.

  • You should be a member of a cluster and have the cluster-admin role in the cluster. For more information, please refer to Cluster Members and Cluster Roles.

Steps

  1. Log in to the KubeSphere web console with a user who has the cluster-admin role.

  2. Click Cluster Settings > Gateway Settings in the left navigation pane.

  3. On the Gateway Settings page, click Cluster Gateway to view the information of the cluster gateway.

    ParameterDescription

    Type

    The type of the gateway.

    Creator

    The user who enabled the gateway.

    Creation Time

    The time when the gateway was enabled.

    Access Mode

    The external access mode of the gateway 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.

    Gateway Address

    The external access address of the gateway.

    • If the external access mode of the gateway is NodePort, the Gateway Address is the IP address of one of the cluster nodes. Clients can access the backend services of the Ingresses 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.

    Node Ports

    The HTTP and HTTPS node ports of the gateway service. Only displayed when the external access mode of the gateway is NodePort.

    Replicas

    The number of replicas of the gateway workload.

    Tracing

    Whether the gateway has tracing enabled.

    Annotations

    The annotations of the gateway service. When the external access mode of the gateway is LoadBalancer, you need to set the annotations of the gateway service according to the load balancer plugin and infrastructure environment to create the required load balancer. For more information, please contact your infrastructure environment provider. Only displayed when the external access mode of the gateway is LoadBalancer.

Receive the latest news, articles and updates from KubeSphere


Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.

What’s on this Page