Member-only story

Monitor Kubernetes Cluster using Prometheus and Grafana

Nidhi
5 min readDec 7, 2020

--

In this blog, we will learn how to monitor metrics for performance analysis, and also how to monitor and manage the real-time cost of Kubernetes resources using Prometheus and Grafana

Prerequisite

  1. Functional Kubernetes Cluster configured
  2. Kubernetes 1.16+
  3. Helm 3+
  4. Kubernetes’ command-line tool, kubectl, which is the command-line interface for running commands against Kubernetes clusters.
  5. Helm should be installed. We will install helm on windows in this article

Monitoring in Kubernetes

We will configure our Kubernetes cluster to get core metrics, such as CPU and memory.

We will deploy Prometheus and Grafana on our Kubernetes cluster. We will learn how to monitor a Kubernetes service with Prometheus and use Grafana dashboards to visualize cluster and application metrics.

Agenda:

  • Install Helm on Windows
  • Deploying Prometheus using Helm charts
  • Access the url using port-forward
  • Monitoring metrics using Grafana dashboards

--

--

Nidhi
Nidhi

Written by Nidhi

Devops Automation Enginneer

No responses yet