This section describes how to view Ingress details.

Prerequisites

You need to join a project and have the Application Workloads View 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 Application Workloads View permissions and enter your workspace.

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

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

  4. In the application route list, click the name of an Ingress to open its details page.

  5. On the Ingress details page, view the detailed information of the Ingress in the Attributes area.

    Parameter Description

    Cluster

    The cluster to which the Ingress belongs.

    Project

    The project to which the Ingress belongs.

    Application

    The application corresponding to the Ingress.

    Gateway Address

    The IP address of the cluster gateway or project 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.

    Ingress Class

    The Ingress Controller that handles the routing rules.

    Creation Time

    The time when the Ingress was created.

    Creator

    The user who created the Ingress.

  6. On the Ingress details page, click the Resource Status tab to view the routing rules of the Ingress.

    The Resource Status tab displays all routing rules for the current Ingress.

    Parameter Description

    Domain and Port

    The domain name and node port of the Ingress. The node port is displayed only when the external access mode of the cluster gateway or project gateway is NodePort.

    • If the external access mode of the cluster gateway or project gateway is NodePort, clients need to resolve the domain name to the IP address of any node in the cluster through a DNS service or the local hosts file, and access the Ingress via the domain name, path, and port number (e.g., example.com/test:30240).

    • If the external access mode of the cluster gateway or project gateway is LoadBalancer, clients need to resolve the domain name to the IP address of the project gateway’s load balancer through a DNS service or the local hosts file, and access the Ingress via the domain name and path (e.g., example.com/test).

    Protocol

    The protocol supported by the Ingress. The value is HTTP or HTTPS.

    Certificate

    The name of the Secret containing the certificate and private key used when the Ingress protocol is HTTPS. Displayed only when the Ingress protocol is HTTPS.

    Rewrite Path

    The path sent to the backend service.

    Path

    The path of the domain name. Each path corresponds to a service.

    Service

    The name of the service corresponding to the domain name path.

    Port

    The port number of the service corresponding to the domain name path.

    Click Access Service on the right side of a routing rule to access the backend service of the Ingress.

  7. On the Ingress details page, click the Metadata tab to view the Labels and Annotations of the Ingress.

  8. On the Ingress details page, click the Events tab to view the events of the Ingress.

    Parameter Description

    Type

    The type of the event, including Normal and Warning.

    Reason

    The reason why the event occurred.

    Occurrence Time

    The time when the event occurred.

    Source

    The component that reported the event.

    Message

    The content of the event message.