Use pre-built Kubernetes dashboards

Cloud Observability provides pre-built Kubernetes dashboards using our Terraform provider. These modules allow you to monitor your overall cluster health as well as workloads running on the cluster using metrics such as CPU/memory usage, CPU/memory limits, network usage, and IOPS.

The Kubernetes modules are currently in beta.

Prerequisites

Requirements

  • An OpenTelemetry Collector scraping the kube-state-metrics of your Kubernetes cluster. Please see our recommended deployment setup for instructions.
  • The namespaces and workloads running on your cluster.

You can quickly retrieve the namespaces and workloads running on your cluster using the following commands: % kubectl get deployment,daemonset,statefulset -A | awk ‘{print $1 $2}’

% kubectl get deployment,daemonset,statefulset -A -o jsonpath='{range .items[*]}namespace:{@.metadata.namespace} workload:{@.metadata.name}{"\n"}{end}'

Deploying the Kubernetes modules

Follow the instructions for using the Cloud Observability Terraform Provider, specifically the instructions for using unpublished modules.

You can find examples and complete setup instructions in the Github repository.

Once complete you will have a number of Kubernetes dashboards, including a comprehensive dashboard that uses template variables, giving you one dashboard where you can view multiple pods, namespaces, and nodes from the same dashboard. Panels include big-number charts for total active namespaces, total secrets, and total services.

There are also a number of individual dashboards for each specified workload.

Seven pre-built Kubernetes dashboards cover cluster, cert-manager, fluentbit-gke, gke-metrics-agent, and konnectivity-agent information.

Dashboard titled Kubernetes/Compute Resources/Cluster includes panels for CPU usage, memory usage, and receive bandwidth.

Dashboard titled Kubernetes/Compute Resources/Workload/cert-manager includes panels for CPU usage, memory usage, and rate of transmitted packets.

See also

Create and manage dashboards

Create alerts

Updated Aug 25, 2023