This section describes how to view project gateway details.

Prerequisites

  • The KubeSphere Gateway extension must be installed and enabled on the KubeSphere platform.

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

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

  3. Click the Project Gateway tab to enter the project gateway page.

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

  5. Click more on the right side of the gateway you want to operate on, then select View Details from the dropdown list.

  6. On the gateway details page, view the resource attributes of the gateway in the Attributes area.

    Parameter Description

    Cluster

    The cluster to which the gateway belongs.

    Creation Time

    The creation time of the gateway.

    Update Time

    The update time of the gateway.

    Creator

    The user who enabled the gateway.

  7. On the gateway details page, view the configuration options of the gateway under the Configuration Options tab. The gateway functionality in KubeSphere is implemented based on the Nginx Ingress Controller. For more information about gateway configuration options, please refer to the Nginx Ingress Controller official documentation.

  8. On the gateway details page, click the Monitoring tab to view the request data of the gateway.

    Note

    To use the gateway monitoring feature, the WizTelemetry Monitoring extension must be enabled in KubeSphere.

    • The Overview area provides the following information:

      Parameter Description

      Total Requests

      The total number of requests received by the gateway within the specified time range.

      Request Count

      The number of requests with response status codes of 4XX or 5XX within the specified time range. Click the dropdown list to view the counts of 4XX requests and 5XX requests separately.

      Successful Requests

      The percentage of successful requests within the specified time range.

      Average Latency

      The average latency of all requests within the specified time range.

      P50 Latency

      The median latency of all requests within the specified time range.

      P95 Latency

      The 95th percentile latency of all requests within the specified time range, meaning 95% of requests have a latency less than or equal to this value.

      P99 Latency

      The 99th percentile latency of all requests within the specified time range, meaning 99% of requests have a latency less than or equal to this value.

    • The area below the page displays dynamic request data received by the currently selected pod in a line chart.

      Parameter Description

      Request Count

      The number of requests per second received by the gateway within the specified time range.

      Connection Count

      The number of connections per second received by the gateway within the specified time range.

      Request Latency

      The median, 95th percentile, 99th percentile, and average latency of all requests within the specified time range.

      Failed Request Count

      The number of failed requests received by the gateway within the specified time range.

      Network Traffic

      The inbound traffic per second of the gateway within the specified time range.

    • Click timed-task in the upper right corner to set the time range.

    • Click start/pause in the upper right corner to enable/disable real-time data refresh.

    • Click refresh in the upper right corner to refresh data manually.

  9. On the gateway details page, click the Gateway Logs tab to view the logs of the gateway.

    Note

    To use the gateway log search feature, the WizTelemetry Logging extension must be installed and enabled on the KubeSphere platform.

    • Click the search box above the Gateway Logs tab and set search conditions to search log data by keyword, pod, or time range.

    • Click start-dark/stop-dark-white above the Gateway Logs tab to start/stop real-time data refresh.

    • Click Refresh Interval above the Gateway Logs tab to set the data refresh interval to 5s, 10s, or 20s.

    • Click export above the Gateway Logs tab to download the log file locally.

  10. On the gateway details page, click the Resource Status tab to view the pod replicas, container ports, and pods of the gateway workload.

    Parameter Description

    Replicas

    The current pod replicas and desired pod replicas for the workload.

    Port

    The port name, protocol, and port number of the container managed by the workload.

    Pod

    All pods running in the workload.

    • Click chevron-down to view information about the containers running in the pod.

    • Click the name of a pod to view its details.

    • Enter keywords in the search box above the pod list to search for pods by name.

    • Click refresh in the upper right corner of the pod list to refresh the list information.

  11. On the gateway details page, click the Metadata tab to view the annotations of the gateway service.