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

查看项目网关信息

本节介绍如何查看项目网关信息。

Prerequisites

  • KubeSphere 平台需要安装并启用 KubeSphere 网关扩展组件。

  • You should join a project and have the 项目网关查看 permission within the project. For more information, refer to "Project Members" and "Project Roles".

Steps

  1. Log in to the KubeSphere web console with a user who has the 项目网关查看 permission, and access your project.

  2. Click 项目设置 > 网关设置 in the left navigation pane.

    网关设置页面提供以下信息:

    参数 描述

    类型

    网关的类型。

    创建者

    启用网关的用户。

    创建时间

    网关的启用时间。

    访问模式

    网关服务的外部访问模式。

    • 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.

    网关地址

    网关的外部访问地址。

    • 如果网关的外部访问模式为 NodePort,网关地址为某一个集群节点的 IP 地址。客户端可以通过任意集群节点的 IP 地址和端口访问应用路由的后端服务。

    • 如果网关的外部访问模式为 LoadBalancer,网关地址为负载均衡器的地址。

    节点端口

    网关服务的 HTTP 和 HTTPS 节点端口。仅在网关的外部访问模式为 NodePort 时显示。

    副本

    网关工作负载的副本数。

    链路追踪

    网关是否已启用链路追踪功能。

    注解

    网关服务的注解。网关的外部访问模式为 LoadBalancer 时,您需要根据负载均衡器插件和基础设施环境设置网关服务的注解以创建所需的负载均衡器。有关更多信息,请联系您的基础设施环境提供商。仅在网关的外部访问模式为 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