From 766cd07c3a96718b646e1e6aad4b9ee89aaac230 Mon Sep 17 00:00:00 2001 From: Solly Ross Date: Fri, 30 Jun 2017 17:45:21 -0400 Subject: [PATCH] Link to luxas's demo luxas has an excellent demo up, tying everything together. This adds a link (with a brief description) to that demo repo. --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index bbadbfc7..4bfc29b5 100644 --- a/README.md +++ b/README.md @@ -78,3 +78,19 @@ aggregated over all non-requested metrics. The adapter does not consider resources consumed by the "POD" container, which exists as part of all Kubernetes pods running in Docker simply supports the existance of the pod's shared network namespace. + +Example +------- + +@luxas has an excellent example deployment of Prometheus, this adapter, +and a demo pod which serves a metric `http_requests_total`, which becomes +the custom metrics API metric `pods/http_requests`. It also autoscales on +that metric using the `autoscaling/v2alpha1` HorizontalPodAutoscaler. + +It can be found at https://github.com/luxas/kubeadm-workshop. Pay special +attention to: + +- [Deploying the Prometheus + Operator](https://github.com/luxas/kubeadm-workshop#deploying-the-prometheus-operator-for-monitoring-services-in-the-cluster) +- [Setting up the custom metrics adapter and sample + app](https://github.com/luxas/kubeadm-workshop#deploying-a-custom-metrics-api-server-and-a-sample-app)