Build from scratch Grafana and Prometheus on Minikube

Maciej
12 min readJun 25, 2021

Introduction

In this post we will take care build Prometheus, Grafana from scratch, the verification environment is minikube.

Environment

Let’s start

Launch vagrantbox with minikube and installed Prometheus/Node_esporter/Grafana

C:\tmp
λ git clone https://github.com/spy86/minikube-grafana-prometheus.git
Cloning into 'minikube-grafana-prometheus'...
remote: Enumerating objects: 45, done.
remote: Counting objects: 100% (45/45), done.
remote: Compressing objects: 100% (35/35), done.
Receiving oal 45 (delta 12), reused 34 (delta 8), pack-reused 0 eceiving objects: 71% (32/45)
Receiving objects: 100% (45/45), 11.14 KiB | 1.39 MiB/s, done.
Resolving deltas: 100% (12/12), done.
C:\tmp
λ cd minikube-grafana-prometheus\
C:\tmp\minikube-grafana-prometheus (main -> origin)
λ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'mmichal/ubuntu16_04'...
==> default: Matching MAC address for NAT networking...
==>…

--

--

Maciej
Maciej

Written by Maciej

DevOps Consultant. I’m strongly focused on automation, security, and reliability.

No responses yet