Introduce support for the resource metrics API

This introduces support for the resource metrics in the adapter.
The individual queries and window sizes are fully customizable via a new
config section.  This uses just the generic machinery from
metrics-server to serve the API.
This commit is contained in:
Solly Ross 2018-08-20 17:03:44 -04:00
parent 74c0c53e4f
commit c5801455ec
5 changed files with 503 additions and 9 deletions

View file

@ -51,6 +51,10 @@
name = "github.com/kubernetes-incubator/custom-metrics-apiserver"
version = "kubernetes-1.11.2"
[[constraint]]
name = "github.com/kubernetes-incubator/metrics-server"
branch = "master"
# Core Kubernetes deps
[[constraint]]
name = "k8s.io/api"