Docs » Monitor Kubernetes

Monitor Kubernetes 🔗

Note

Before you can start monitoring any Kubernetes resources, Collect Kubernetes data, and log in with your administrator credentials.

You can monitor Kubernetes metrics with Splunk Observability Cloud. Observability Cloud uses the Splunk OpenTelemetry Connector for Kubernetes to provide robust infrastructure monitoring capabilities. If you’re also exporting logs from Kubernetes and want to learn about how to view logs in Observability Cloud, see Troubleshoot with logs.

You can also export and monitor data related to your Kubernetes clusters, as described in the following table.

Get data in

Monitor

Description

Connect to the cloud service provider your Kubernetes clusters run in, if any.

Collect application spans and traces

Monitor applications with Splunk APM

Collect metrics and spans from applications running in Kubernetes clusters.

Monitor Kubernetes from the Infrastructure page 🔗

View the health of entire Kubernetes clusters at a glance from the Infrastructure page. From the Infrastructure page, you can drill down into and analyze detailed metrics about these Kubernetes resources:

  • Nodes

  • Pods

  • Containers

  • Workloads

There are a couple ways to dig into your Kubernetes infrastructure:

  • Visualize the entire cluster, and drill down into nodes, pods, and containers with the Map view. The Map view lets you explore a cluster and visualize the health of everything at a glance. Nodes, pods, and containers are colored by health and status, as reported by Kubernetes.

  • View the Nodes or Workloads lists to see a compact list of all the nodes and workloads in your Kubernetes cluster. Use these pages to view the health and status of all nodes or workloads at once.

  • View Detail pages to view detailed dashboards for nodes, pods, containers, and workloads for a cluster. Go directly to one of the Detail pages when investigating an incident to get specific details.

Follows these steps to monitor and analyze Kubernetes from the Infrastructure page:

  1. Select Navigation menu > Infrastructure.

  2. Select Kubernetes from the Platforms menu.

  3. Specify the cluster you want to view by clicking on the map or selecting it by name from the filter bar.

  4. Select a node to view the Detail page for that node in the Info panel.

  5. Select a node, or hover and click the magnifying glass to visualize pods and containers in the node.

  6. Select pods and containers to view the Detail pages in the Info panel.

You can filter the map by any available metadata, like a namespace. When you filter the map, you see nodes that match the filter. Nodes that do not match the filter are hidden. Pods and containers that match the filter are highlighted, and non-matching pods and containers are dimmed. You can still select the dimmed pods and containers to view details about them in the Info panel.

To view the data in the Info panel using the entire width of the screen, click the fullscreen icon at the top left of the Info panel to navigate to the corresponding Detail page.

By default, you see data from the last 15 minutes. You can use the time picker to choose a new time range. When you select a new time range, the map and all pages will update to show the status of nodes, pods, and containers present during that time. Streaming metrics charts will update to show the time range you selected.

Use default dashboards to monitor Kubernetes 🔗

To find default dashboards for Kubernetes, select Navigation menu > Dashboards and search for Kubernetes to find a dashboard.

Observability Cloud provides these default dashboards for Kubernetes:

Dashboard

Description

Kubernetes Clusters

View a summary of every cluster you are monitoring in Observability Cloud.

Kubernetes Overview

View a summary of every pod and node you are monitoring in Observability Cloud.

Kubernetes Nodes

View a summary of every node you are monitoring in Observability Cloud.

Kubernetes Node

View the health of a specific node you specify. The dashboard is empty until you specify a node name.

Kubernetes Pods

View a summary of every pod you are monitoring in Observability Cloud.

Kubernetes Pod

View the health of a specific pod you specify. The dashboard is empty until you specify a pod name.

Kubernetes Containers

View a summary of every container you are monitoring in Observability Cloud.

Kubernetes Container

View the health of a specific container ID you specify. The dashboard is empty until you specify a container ID.

Kubernetes Operations

View a summary of your Kubernetes deployment, including information about restarts, phases, deployments, and DaemonSets.

Kubernetes Cluster Services

View a summary of Controller Managers, Schedulers, Proxies, and other Kubernetes services.

Troubleshoot with the analyzer 🔗

The Analyzer panel helps you troubleshoot Kubernetes problems at scale by highlighting Kubernetes objects that are in a bad state such as nodes that are not ready. Then, the Analyzer produces theories about what those objects might have in common. For example, that all of the objects are running the same workload or all objects are located in the same AWS region. Click on a finding in the Analyzer panel to filter the map.