DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Prometheus-Grafana on K8s

5 years ago medium.com
Prometheus-Grafana on K8s

Summary: This is a summary of an article originally published by the source. Read the full original article here →

Integrate Prometheus and Grafana and perform in following way: Deploy them as pods on top of Kubernetes by creating resources Deployment, ReplicaSet, Pods or Services And make their data to be remain persistent And both of them should be exposed to outside world Dockerfile for Prometheus: To build the image for launch of the container command is : docker build -t shrutshah/prometheus:v1 For storing metrics data , prom_data folder is created. Persistent Volume (PV) is created to make the data generated and stored by prometheus persistent or permanent.

Use this IP with Port exposed for Prometheus and Grafana both.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com