View events

After enabling the Kubernetes event monitoring, you can view and analyze events from the Kubernetes cluster. On your Kubernetes cluster details page, go to Events.

In the Dynatrace Kubernetes dashboard, these events will look like this:

image

Kubernetes events monitoring for analysis and alerting

For full observability into your Kubernetes events, automatic Davis analysis, and custom alerting, you need to enable Kubernetes event monitoring.

You can enable this feature for specific Kubernetes clusters. See below for instructions.

Enable event monitoring for individual clusters

  1. In the Dynatrace menu, go to Kubernetes.
  2. Find your Kubernetes cluster, and then select More (...) > Settings in the Actions column.

image

  1. Make sure that the flags are same as image. Also click on the "add events field selector" button and add the below text to the "Field selector name" and "field selector expresion"
    Pod events
    
    
    involvedObject.kind=Pod
    

image

  1. Select Save Changes

As you saw before in Lab 7 you are able to see all the same metricsw and work loads namespaces as before with the added visibility to Events specific to your environment.

1 - Cluster Info

image

2 - Events specific to failed containers

image

3 - Event Metadata

image