/novatec-k8s-panel

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Novatec Kubernetes Grafana Panel Plugin

This Grafana Panel Plugin is developed for Grafana >=v8.

For more information about panels, refer to the official Grafana documentation on Panels

What is K8S Panel Plugin for?

This Panel Plugin offers a visual representation of a Kubernetes cluster. It also gives quick access to the infrastructure metrics of the cluster and the application metrics of the services running on it.

Requirement to use this plugin

  • Kubernetes cluster
  • Prometheus Server that provides metrics from the cluster

Getting started

  1. Download and extract the release to %installationpath%/Grafana/grafana/plugins
  2. Setup Prometheus Data Source in Grafana
  3. Setup Panel in Grafana with following Prometheus Queries
Queryname Query
namespace_pod_container_info kube_pod_container_info
deployment_info sum(kube_deployment_labels) by (deployment)
pod_owner sum(kube_pod_owner) by (owner_name, pod)
replicaset_owner sum(kube_replicaset_owner) by (owner_name, replicaset, namespace)
  1. Further metrics can be provided using following naming convention
    type/name/level
^(?<type>infrastructure|application)\/(?<name>.*(?=\/))\/(?<level>namespace|pod|container|node)$

Contribute

see CONTRIBUTE.md