Member-only story
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
- Functional Kubernetes Cluster configured
- Kubernetes 1.16+
- Helm 3+
- Kubernetes’ command-line tool, kubectl, which is the command-line interface for running commands against Kubernetes clusters.
- 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