---
title: "How to monitor Oracle's Kubernetes Engine with Datadog"
description: "Use Datadog to monitor all of your clusters managed by Oracle's Container Engine for Kubernetes."
author: "Mallory Mooney"
date: 2019-09-10
tags: ["infrastructure monitoring", "oracle", "oracle container engine for kubernetes", "kubernetes", "containers"]
blog_type_id: the-monitor
locale: en
---

Oracle's [Container Engine for Kubernetes](https://docs.cloud.oracle.com/iaas/Content/ContEng/Concepts/contengoverview.htm) (OKE) is a service that helps you deploy, manage, and scale Kubernetes clusters in the cloud. With OKE, organizations can build dynamic containerized applications by incorporating Kubernetes with services running on their [Oracle Cloud Infrastructure](https://docs.cloud.oracle.com/iaas/Content/GSG/Concepts/baremetalintro.htm).

We've [partnered with Oracle](https://cloudmarketplace.oracle.com/marketplace/en_US/listing/39562107) so that you can use the Datadog Agent to get comprehensive visibility into your Kubernetes clusters on Oracle Cloud Infrastructure. Once you've enabled our [Kubernetes integration](https://docs.datadoghq.com/agent/kubernetes.md#installation), you can visualize your OKE container infrastructure, monitor live processes, and track key metrics from all of your pods and containers in one place.

![live container view](https://web-assets.dd-static.net/42588/1776302088-monitor-oracle-kubernetes-engine-live_container.png)
*With Datadog's Live Container view, you can monitor your entire cluster in real time.*

## How Oracle's Container Engine for Kubernetes works

Oracle Cloud Infrastructure Container Engine for Kubernetes (OKE) provides a [CLI](https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/cliinstall.htm) and Console (browser-based interface) for creating and managing Kubernetes clusters. You can set up OKE to [automatically provision and launch](https://docs.cloud.oracle.com/iaas/Content/ContEng/Tasks/contengcreatingclusterusingoke.htm) Kubernetes clusters based on a custom configuration or through a ["quick cluster"](https://docs.cloud.oracle.com/iaas/Content/ContEng/Tasks/contengcreatingclusterusingoke.htm#create-quick-cluster) option in the Console.

When OKE launches a cluster, it creates control plane and worker nodes in a node pool along with all of the network resources needed for that cluster, including a Virtual Cloud Network. You can view more details about the cluster and nodes in the OKE Console, as seen in the example below.

![view of a cluster created with the oracle kubernetes engine](https://web-assets.dd-static.net/42588/1776302093-monitor-oracle-kubernetes-engine-oke_cluster.png)

Since OKE is a managed service, you can easily [modify](https://docs.cloud.oracle.com/iaas/Content/ContEng/Tasks/contengmodifyingcluster.htm) your cluster and [download your cluster's kubeconfig file](https://docs.cloud.oracle.com/iaas/Content/ContEng/Tasks/contengdownloadkubeconfigfile.htm) in order to perform additional management tasks with kubectl, including deploying the Datadog Agent.

## Monitor your OKE clusters with Datadog

Monitoring Kubernetes is crucial to understanding the health of your dynamic, distributed environment. Once you [deploy the Datadog Agent](https://docs.datadoghq.com/agent/kubernetes.md#installation) on your OKE cluster, you can track the load on your clusters, pods, and individual nodes to get better insights into how to provision and deploy your resources. In addition to monitoring your nodes, pods, and containers, the Agent can also collect and report metrics from the services running in your cluster, so that you can:

- [explore your OKE clusters with dashboards](#explore-a-high-level-view-of-your-oke-clusters)
- [monitor containers and processes in real time](#monitor-containers-and-processes-in-real-time)
- [automatically track and monitor containerized services](#autodiscover-containerized-services)

Deploying the Agent as a [DaemonSet](https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/) via our [Helm chart](https://docs.datadoghq.com/agent/kubernetes.md?tab=helm) is the most straightforward (and recommended) method, since it ensures that the Agent will run as a pod on every node within your cluster and that each new node automatically has the Agent installed. You can also configure the Agent to collect process data, traces, and logs by [adding a few extra lines](https://github.com/DataDog/helm-charts/blob/2017d253eecfa634df783db775712aafd01a91e8/charts/datadog/README.md) to a Helm [values file](https://helm.sh/docs/chart_template_guide/values_files/).

### Explore a high-level view of your OKE clusters

Datadog includes several [built-in Kubernetes dashboards](https://app.datadoghq.com/dashboard/lists/preset/3?q=kubernetes) so you can monitor your Kubernetes Controller Manager and Scheduler as well as get a high-level view of your pods and kubelets. These dashboards automatically track key Kubernetes events and metrics, including:

- the number of running pods per node
- the most CPU intensive pods
- the number of running containers

You can clone any built-in dashboard and modify it to monitor the data that's most important to you.

![custom kubernetes dashboard](https://web-assets.dd-static.net/42588/1776302097-monitor-oracle-kubernetes-engine-custom_kube_dash.png)

### Monitor containers and processes in real time

With Datadog's [Live Container](https://docs.datadoghq.com/graphing/infrastructure/livecontainers.md?tab=kubernetes) view, you can get detailed insights into your containers' resource consumption, logs, and health in real time. Regardless of the size of your Kubernetes deployments on Oracle Cloud Infrastructure, you can quickly drill down to inspect any container (or a group of containers) when you need to troubleshoot an issue.

Datadog organizes your data with tags, including metadata that the Agent automatically extracts from Kubernetes (e.g., `pod_name`, `container_id`, `docker_image`, `kube_deployment`). These tags help you search, filter, and group all of the containers in your OKE cluster in Datadog. The example below shows all containers running from a single deployment, grouped by host.

![docker containers filtered by kubernetes deployment and grouped by host](https://web-assets.dd-static.net/42588/1776302105-monitor-oracle-kubernetes-engine-grouped_containers.png)

If you select a specific container, you can view its resource metrics (at two-second resolution), running processes, and [logs](https://docs.datadoghq.com/graphing/infrastructure/livecontainers.md?tab=kubernetes#container-logs). From there, you can pivot to a host dashboard as well as other related logs and processes collected by the Agent. This provides you with more context as you monitor your systems and debug issues.

If one of your containers begins consuming too many resources, you can dig into its processes to determine which one is causing the problem through Datadog's [Live Process view](https://docs.datadoghq.com/graphing/infrastructure/process.md?tab=kubernetes). For example, you can track all running processes for a single OKE node.

![list of processes for a single kubernetes node](https://web-assets.dd-static.net/42588/1776302109-monitor-oracle-kubernetes-engine-live_processes.png)

This view enables you to easily visualize resource consumption (e.g., total CPU, RSS memory) for processes within a single container, using any of the tags that are automatically pulled from Kubernetes.

### Autodiscover containerized services

As your infrastructure grows, tracking its many moving pieces becomes more difficult as containers are created (or destroyed) and move across nodes. The Datadog Agent's [Autodiscovery](https://docs.datadoghq.com/agent/autodiscovery.md?tab=agent) feature helps you stay on top of the containerized services running in your dynamic environment. Once enabled, the Datadog Agent will automatically collect and report on data from the services running on the containers in your OKE cluster (e.g., Cassandra, Redis, PostgreSQL), even as they move across your infrastructure. And, if a container shuts down or is destroyed, the Agent will disable checks for those containers. Autodiscovery helps you monitor only the resources you need so you can be confident in knowing that the data you see in Datadog is [the latest](https://docs.datadoghq.com/graphing/infrastructure/livecontainers.md?tab=linuxwindows#real-time-monitoring).

## Know what's going on with your OKE clusters

With Datadog, you can get deep visibility into all of the Kubernetes clusters running on your Oracle Cloud Infrastructure, alongside more than 1,000 other technologies running in your environment. If you already use Datadog, check out our [Kubernetes documentation](https://docs.datadoghq.com/agent/kubernetes.md#installation) to learn more about how you can seamlessly monitor your OKE clusters alongside the rest of your infrastructure. Otherwise, sign up for a <!-- Sign-up trigger (free trial of Datadog) omitted --> to get started.