k3s/vendor
Kubernetes Submit Queue 4f7d150b22 Merge pull request #41824 from DirectXMan12/feature/hpa-v2-use-cm-api
Automatic merge from submit-queue

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`).

Before this merges, this will need kubernetes/metrics#2 to merge, and a godeps update to pull that in.
It's also semi-dependent on kubernetes/heapster#1537, but that is not required in order for this to merge.

**Release note**:
```release-note
Allow the Horizontal Pod Autoscaler controller to talk to the metrics API and custom metrics API as standard APIs.
```
2017-03-01 12:56:58 -08:00
..
bitbucket.org
cloud.google.com/go Revert "Add missing vendor files to make godeps happy" 2016-11-02 20:56:06 -07:00
github.com Portworx Volume Driver in Kubernetes 2017-02-28 23:24:56 +00:00
go.pedge.io/pb Portworx Volume Driver in Kubernetes 2017-02-28 23:24:56 +00:00
go4.org Revert "Add missing vendor files to make godeps happy" 2016-11-02 20:56:06 -07:00
golang.org/x Update golang.org/x/crypto 2016-12-29 18:49:18 -05:00
google.golang.org Add Stackdriver Logging API library 2017-02-17 12:00:27 +01:00
gopkg.in
k8s.io Add dependencency on k8s.io/metrics 2017-03-01 10:23:29 -05:00
vbom.ml/util Use natural sorting for strings in sorting_printer 2017-02-28 07:50:44 +01:00
BUILD Merge pull request #41824 from DirectXMan12/feature/hpa-v2-use-cm-api 2017-03-01 12:56:58 -08:00