Skip to content

rohithreddykota/k8s-service-discovery-in-prometheus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Set up Kubernetes service discovery in Prometheus

Architecture

Prometheus consists of multiple components.

the main Prometheus server that scrapes and stores the times series data by pulling them, the service discovery that discovers the Kubernetes targets, the Prometheus web UI for querying and visualizing the data.

Execution Steps

  • create k8s resources
kubectl apply -f manifests/namespace.yaml && kubectal apply -f manifests/
  • check the created objects
kubectl get all -n monitoring
  • port-forward to prometheus service
kubectl -n monitoring port-forward svc/prometheus 9090:9090

About

Kubernetes Service Discovery In Prometheus

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published