Updated on 2024-04-15 GMT+08:00

Viewing Event Information

Kubernetes events show the cluster running status and resource scheduling status, helping O&M personnel observe resource changes and locate faults. To monitor events in a cluster, choose Container Insights > Events. You need to install log-agent in the cluster. log-agent can collect Kubernetes events and display them on the Container Insights > Events tab.

Navigation Path

  1. Log in to the UCS console.
  2. In the navigation pane, choose Container Intelligent Analysis. Choose Container Insights > Clusters, click the cluster name in Cluster Statistics, and click the Events tab.

Viewing Event Details

The event details page has two tabs: Overview and Events. On the Overview tab, you can view the total number, trend, and sorting of events in the cluster. On the Events tab, you can view event details, such as the event name, type, content, and information about the resource that triggers the event.

Table 1 Tabs on the event details page

Tab

Description

Overview

By default, the Overview tab displays the event statistics of all namespaces in the cluster. You can also select a namespace from the drop-down list in the upper right corner to view its event data.

  • Total Events: displays the distribution of normal and warning events in a doughnut chart.
  • Top 5 Warning Events by Resource: displays the resource information corresponding to the number of top 5 warning events.
  • Warning Events by Resource Type: displays the comparison between the number of warning events and the number of warning events in the last 24 hours.
  • Warning Event Trend (24 Hours): displays the trend of the number of warning events in the last 24 hours.
  • Normal Event Trend (24 Hours): displays the trend of the number of normal events in the last 24 hours.
  • Top 10 Events in 24 Hours: displays the names of top 10 events in the last 24 hours.

Events

The Events tab displays cluster event details in a unit of time, including the event name, type, content, and information about the resource that triggers the event.

Searching for Events

The Events tab displays the event information of a specified resource that is searched out based on certain conditions, including the trend and details of normal and warning events. In this way, you can conveniently view the event information related to the resource.

Search for events in any of the following ways:

  • Enter the name of the event to be searched for in the text box, select a namespace or event type, and click Search.
  • Click Advanced Search and enter the desired workload, node, pod, event content, resource type, or resource name.
  • Select a time interval in the upper left corner to view the events generated in that period, including last hour, last day, last week, and a custom interval.

Event List

You can view details about events that meet your search criteria in the list. The details include the last occurrence time, event name, resource type, resource name, event content, event type, and occurrence times. Click Historical Events in the Operation column. A dialog box is displayed to show all events of the current resource type and resource.