k3s/cmd/kube-controller-manager/app
Solly Ross d6fe1e8764 HPA Controller: Use Custom Metrics API
This commit switches over the HPA controller to use the custom metrics
API.  It also converts the HPA controller to use the generated client
in k8s.io/metrics for the resource metrics API.

In order to enable support, you must enable
`--horizontal-pod-autoscaler-use-rest-clients` on the
controller-manager, which will switch the HPA controller's MetricsClient
implementation over to use the standard rest clients for both custom
metrics and resource metrics.  This requires that at the least resource
metrics API is registered with kube-aggregator, and that the controller
manager is pointed at kube-aggregator.  For this to work, Heapster
must be serving the new-style API server (`--api-server=true`).
2017-03-01 10:21:50 -05:00
..
options HPA Controller: Use Custom Metrics API 2017-03-01 10:21:50 -05:00
BUILD HPA Controller: Use Custom Metrics API 2017-03-01 10:21:50 -05:00
apps.go Remove references to pkg/controller/informers 2017-02-27 06:47:59 -05:00
autoscaling.go HPA Controller: Use Custom Metrics API 2017-03-01 10:21:50 -05:00
batch.go Remove references to pkg/controller/informers 2017-02-27 06:47:59 -05:00
bootstrap.go Wire in bootstrap and token controllers. 2017-02-10 12:49:23 -08:00
certificates.go Remove references to pkg/controller/informers 2017-02-27 06:47:59 -05:00
controller_manager_test.go add --controllers to controller manager 2017-01-12 08:46:33 -05:00
controllermanager.go Remove references to pkg/controller/informers 2017-02-27 06:47:59 -05:00
core.go Merge pull request #42056 from ncdc/shared-informers-16-remove-legacy-code 2017-02-27 12:45:31 -08:00
extensions.go Merge pull request #42056 from ncdc/shared-informers-16-remove-legacy-code 2017-02-27 12:45:31 -08:00
plugins.go Portworx Volume Driver in Kubernetes 2017-02-28 23:24:56 +00:00
policy.go Remove references to pkg/controller/informers 2017-02-27 06:47:59 -05:00