Skip to main content

Event

Home > Select Project > Dashboard > Container Map > Target selection, Display Detail > Select Event tab

It provides records for all events that occur during the resource lifecycle. The events provided in WhaTap Kubernetes Monitoring are as follows.

  • Kubernetes Event (Kubernetes)

  • WhaTap event (WhaTap)

Basic screen guide

Kubernetes Display Detail Event tab

  • You can select a number 1 Kubernetes event (Kubernetes) or WhaTap event (WhatTap) for query.

    • Selecting all or multiple blocks

      You can search All Kubernetes events or All WhatTap events when all or multiple blocks are selected from Container Map and the card on the left.

    • Selecting clustering or individual block

      When selecting Step 2 grouping or individual block at the top of Container Map, you can view the event. For more information about grouping (clustering), see the following.

      Note

      Before entering the Display Detail screen, depending on the view or grouping selected at the top of Container Map, the events that can be viewed may differ.

  • Using the number 2 time selector, you can set the time zone to view event records in. The default value is 1 day.

  • The event number trend in the number 3 selected time zone can be viewed with a bar chart.

  • In the number 4 list format, you can see the event records.

    • If you select Hide Tag on the upper right of the event record list, you can see the timestamp and message excluding the tags while recording events.

    • Kubernetes events

      • You can see the data by selecting a desired event type: Normal or Warning. These event types are identical to the event types provided by Kubernetes.

      • The bars on the left of each event indicate the event types. Gray means Normal, and orange means Warning.

    • WhaTap events

      • Select a desired event level to search among Critical, Info, and Warning.

      • The bars on the left of each event indicate the event levels. Gray indicates Info, orange Warning, and red Critical.

Kubernetes event

Kubernetes events are provided by Kubernetes itself. In the Kubernetes environment, you can use the kubectl get events command to get the event data of the Kubernetes cluster.


$ kubectl get events -A
NAMESPACE LAST SEEN TYPE REASON OBJECT MESSAGE
community 15m Normal ScalingReplicaSet deployment/baekdusan Scaled up replica set baekdusan-59554d4859 to 5
community 12m Normal ScalingReplicaSet deployment/suraksan Scaled down replica set suraksan-66fc4bf889 to 3
community 5m18s Normal ScalingReplicaSet deployment/baekdusan Scaled down replica set baekdusan-59554d4859 to 3
community 7m10s Normal Created pod/suraksan-66fc4bf889-h2cw8 Created container suraksan
community 6m56s Normal Pulled pod/suraksan-66fc4bf889-h2cw8 Container image "123456789123.dkr.ecr.ap-northeast-2.amazonaws.com/suraksan:0.48" already present on machine
community 7m9s Normal Started pod/suraksan-66fc4bf889-h2cw8 Started container suraksan
community 2m7s Warning BackOff pod/suraksan-66fc4bf889-h2cw8 Back-off restarting failed container
community 7m12s Normal Started pod/suraksan-66fc4bf889-t27rp Started container suraksan
community 6m54s Normal Pulled pod/suraksan-66fc4bf889-t27rp Container image "123456789123.dkr.ecr.ap-northeast-2.amazonaws.com/suraksan:0.48" already present on machine
community 7m12s Normal Created pod/suraksan-66fc4bf889-t27rp Created container suraksan
community 2m46s Warning BackOff pod/suraksan-66fc4bf889-t27rp Back-off restarting failed container
community 7m19s Normal ScalingReplicaSet deployment/mountain Scaled up replica set mountain-6795bfbc54 to 5
community 27m Normal ScalingReplicaSet deployment/mountain Scaled down replica set mountain-6795bfbc54 to 4
community 6m53s Normal Pulled pod/suraksan-66fc4bf889-mjbsj Container image "123456789123.dkr.ecr.ap-northeast-2.amazonaws.com/suraksan:0.48" already present on machine
community 7m10s Normal Created pod/suraksan-66fc4bf889-mjbsj Created container suraksan
community 7m10s Normal Started pod/suraksan-66fc4bf889-mjbsj Started container suraksan
community 2m10s Warning BackOff pod/suraksan-66fc4bf889-mjbsj Back-off restarting failed container
community 5m18s Warning FailedToUpdateEndpoint endpoints/baekdusan-svc Failed to update endpoint community/baekdusan-svc: Operation cannot be fulfilled on endpoints "baekdusan-svc": the object has been modified; please apply your changes to the latest version and try again

However, the event data is not stored continuously. The events that occurred after a specified time are no longer available.

WhaTap Kubernetes collects and stores all Kubernetes events that occurred in the user cluster environment. Event data such as pod, ReplicaSet, deployment, and namespace is provided according to the target to check.

Kubernetes Events

The bars on the left of each event indicate the event types. Gray means Normal, and orange means Warning. The Kubernetes events provided by user selection are as follows.

Selected targetProvided eventProvision-related event
AllAll project events
NamespaceAll events under the namespace
NodeNode events or all pod (container) events in the node
Deploymentkind is Deployment②
name is identical to the user deployment name
name starts with the user deployment name.
ReplicaSetkind is ReplicaSet.②
name is identical to the user's ReplicaSet name
name starts with the user ReplicaSet name.
Pod (container)kind is Pod②
name is identical to the user pod name
The pod starts with the name of the deployment to which the pod belongs or with the ReplicaSet name.

Kubenetes events stored in WhaTap consists of message, namespace, kind, name, reason and type.

WhaTap event

WhaTap events occur depending on the event conditions registered by the event configuration. Under the Event tab on the detailed view screen of Container Map, you can see the list of events based on the WhaTap alert settings.

WhaTap Events

The bars on the left of each event indicate the event levels. Gray means Info, orange Warning, and red Critical. Available WhaTap events according to the selected target are as follows.

Selected targetProvided event
AllAll project events
NamespaceAll events under the namespace
NodeonodeName is identical to the user node name
Deploymentdeployment is identical to the Deployment name
ReplicaSetreplicaSetName is identical to the user ReplicaSet name
PodpodName is identical to the user pod name
ContainercontainerId is identical to the user Container ID

WhaTap events consist of the items such as message, status, title, and level. The following example screen displays the WhatTap Container Event records.

Kubernetes WhaTap Event

  • From the summary information card on the left of number 1 Display Detail, select a target to view.

  • From the number 2 summary information list, check the information of the selected one.

  • In the number 3 Event tab, select a WhaTap event.

    Before entering the Display Detail screen, you can view container events by setting the option at the top of Container map to Container view.

  • Through the number 4 time selector, select a time to view. The default value is 1 day.

  • Through the number 5 bar chart, see the Trend of number of events in the specified time zone.

    If you look at the trend for event counts for the specified time ranges, you can see that two events have been counted.

  • From the number 6 event history, check the information of event records. You can see the levels for each event through the bars on the left of the list. To check all event messages and tags, select the Down arrow icon icon.

    In the event record list, you can view for two Warning level events: CPU utilization of 85% or more by the container limit and GC count or more.