One key Dynatrace advantage is ease of activation. OneAgent technology simplifies deployment across large enterprises and relieves engineers of the burden of instrumenting their applications by hand. As OpenShift adoption continues to grow it becomes more important than ever to simplify the activation of observability across workloads without sacrificing the deployment automation that OpenShift provides. Observability should be as cloud-native as OpenShift itself.
In our workshop, we will install the Dynatrace Operator that streamlines lifecycle management. You can read more about it here in this Dynatrace blog. Additionally we will configure ingestion of Kubernetes events and view this information in the Dynatrace UI.
Organizations will often customize the Dynatrace Operator installation and you can read more about the options in the Dynatrace docs but, we are going to use a single command that we can get from the Dynatrace interface to show how easy it is to get started.
When we run this command, it will do the following:
dynatrace in your cluster will the Dynatrace Operator podsdynatrace namespace that is used in the polling of Kubernetes APIDeploy Dynatrace menu item.Start Installation buttonOpenShift button
openshift-workshop for the name. This is not the cluster name, it will show up as the Kubernetes page name in DynatraceCreate token buttonCreate token buttonSkip SSL Certificate Check to be ONDownload dynakube.yaml button
vi dynakube.yamli key on your keyboard to put vi in insert mode:wq! to save your file and exit viMonitor Kubernetes / Openshift, click the copy button to load the deployments commands to your clipboardRunning state.oc -n dynatrace get pods
Rerun the command (or use watch: oc -n dynatrace get pods -w) until the output looks like this:NAME READY STATUS RESTARTS AGE
dynakube-classic-2rk9z 1/1 Running 0 2m14s
dynakube-classic-4tlcj 1/1 Running 0 2m14s
dynakube-classic-lz7r6 1/1 Running 0 2m14s
dynakube-classic-m7z87 1/1 Running 0 2m14s
dynakube-classic-tzcsl 1/1 Running 0 2m14s
dynakube-classic-wm2h6 1/1 Running 0 2m14s
dynakube-kubemon-0 1/1 Running 0 2m22s
dynakube-routing-0 1/1 Running 0 2m14s
dynatrace-operator-7cf8964786-7m9k2 1/1 Running 0 3m1s
Dynatrace Kubernetes Events Ingest is a Dynatrace feature for Kubernetes that allows you to receive events from your cluster within Dynatrace. This allows you to accurately track Kubernetes events within the context of other activities in the cluster and can supply DAVIS with additional context around problems in your cluster provoding for more accurate root cause analysis. This feature is enabled for us automatically by the Dynatrace Operator.


