Skip to content

tcolgate/prometheus-k8s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes configs to setup prometheus

Initially aimed at minikube, but should be adaptable for real clusters.

  • Adds node_exporter DaemonSet to each node
  • Creates a persistant volume and claim for prometheus data
  • Creates a prometheus instance
  • Creates an alertmanager instance.
  • Creates a pushgateway instance.
  • Creates a statsd exporter instance.
  • Creates a blackbox exporter instance.
  • Prometheus will monitor all elements of the kube cluster (including services)
  • A grafana deployment (no state is kept yet, and no default data source setup)
  • A templated grafana dashboard (not loaded by default yet)

Helm

I'm hoping to turn this into a usable set of helm charts. The current set are installable via helm, but no confguration is provided.

helm install .

TODO

  • How to specify the volumes?
  • Prometheus rules in a config map
  • Reload prometheus config on rule update
  • HA Prom (should just mean changing the rep count)
  • HA Alertmanager
  • Alertmanager config

License

These configs are released under the Apache 2.0 license. All images downloaded are subject to their individual licenses.

About

Config files for setting up prometheus on kubernetes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages