Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.1 KB

README.md

File metadata and controls

38 lines (29 loc) · 1.1 KB

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.