
Part 1: https://librat.kr/entry/Kubernetes-쿠버네티스-모니터링-시스템-구축-1
Building a Kubernetes monitoring system, part 1
Connecting Prometheus
In part 1 we brought up kube-state-metrics, Prometheus, and Grafana as containers.
The first time you open it, click add your first data source to get in.

Then select Prometheus.

In the HTTP - URL field, set the Prometheus URL and run save & test to confirm the connection.
kubernetes default :
http://prometheus-service.monitoring.svc:8080
Loading a template
Grafana can load templates that other people have made.
https://grafana.com/grafana/dashboards/
On that URL, find the template you want and click "Copy ID to clipboard" to copy it.

Then click Import on the dashboard, paste it, click Load, and then click Import.

You have to set the database source for the data to show up correctly.

Comments 0
A nickname and a password are required. The same password edits or deletes the comment later. Comments appear after a review.