k3s/pkg/apis
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
..
abac mechanical repercussions 2017-01-13 08:27:14 -05:00
apps Generated changes for apps/v1beta1.deployments 2017-03-01 15:14:41 +01:00
authentication install authentication.k8s.io/v1, add tests 2017-02-07 01:44:56 -05:00
authorization install authorization.k8s.io/v1, add tests 2017-02-06 18:16:51 -05:00
autoscaling apimachinery: handle duplicated and conflicting type registration 2017-02-27 21:58:21 +01:00
batch Re-generate code and API spec for CronJob API 2017-02-25 06:51:59 -05:00
certificates generated files 2017-02-20 16:20:57 -05:00
componentconfig HPA Controller: Use Custom Metrics API 2017-03-01 10:21:50 -05:00
extensions Deployments under apps/v1beta1 with new defaults 2017-03-01 15:14:41 +01:00
imagepolicy Update protobufs 2017-02-02 06:58:29 +01:00
meta/v1 genericapiserver: get rid of pkg/genericapiserver/server/openapi/common 2017-01-19 13:06:47 +01:00
policy Update protobufs 2017-02-02 06:58:29 +01:00
rbac apimachinery: handle duplicated and conflicting type registration 2017-02-27 21:58:21 +01:00
storage Revert "Merge pull request #40088 from jsafrane/storage-ga-v1" 2017-02-25 22:35:15 -05:00
OWNERS Updated top level owners file to match new format 2017-01-19 11:29:16 -08:00