mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-05 17:27:51 +00:00
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.
This commit is contained in:
parent
c912e1e3be
commit
766cd07c3a
1 changed files with 16 additions and 0 deletions
16
README.md
16
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue