From 1969fada7e75cc6c53b7111e385894d71273392a Mon Sep 17 00:00:00 2001 From: Frederic Branczyk <fbranczyk@gmail.com> Date: Fri, 25 May 2018 16:49:19 +0200 Subject: [PATCH] kube-prometheus: Add table of contents --- README.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6b8cb264..9256319c 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,19 @@ Components included in this package: This stack is meant for cluster monitoring, so it is pre-configured to collect metrics from all Kubernetes components. In addition to that it delivers a default set of dashboards and alerting rules. Many of the useful dashboards and alerts come from the [kubernetes-mixin project](https://github.com/kubernetes-monitoring/kubernetes-mixin), similar to this project it provides composable jsonnet as a library for users to customize to their needs. +## Table of contents + +* [Prerequisites](#prerequisites) + * [minikube](#minikube) +* [Quickstart](#quickstart) +* [Usage](#usage) + * [Compiling](#compiling) +* [Configuration](#configuration) +* [Customization](#customization) + * [Customizing Prometheus alerting/recording rules and Grafana dashboards](#customizing-prometheus-alertingrecording-rules-and-grafana-dashboards) + * [Exposing Prometheus/Alermanager/Grafana via Ingress](#exposing-prometheusalermanagergrafana-via-ingress) +* [Minikube Example](#minikube-example) + ## Prerequisites You will need a Kubernetes cluster, that's it! By default it is assumed, that the kubelet uses token authN and authZ, as otherwise Prometheus needs a client certificate, which gives it full access to the kubelet, rather than just the metrics. Token authN and authZ allows more fine grained and easier access control. @@ -213,7 +226,11 @@ local daemonset = k.apps.v1beta2.daemonSet; See [developing Prometheus rules and Grafana dashboards](docs/developing-prometheus-rules-and-grafana-dashboards.md) guide. -## Example +### Exposing Prometheus/Alermanager/Grafana via Ingress + +See [exposing Prometheus/Alertmanager/Grafana](docs/exposing-prometheus-alertmanager-grafana-ingress.md) guide. + +## Minikube Example To use an easy to reproduce example, let's take the minikube setup as demonstrated in [prerequisites](#Prerequisites). It is a kubeadm cluster (as we use the kubeadm bootstrapper) and because we would like easy access to our Prometheus, Alertmanager and Grafana UI we want the services to be exposed as NodePort type services: -- GitLab