kubernetes/pkg/controller
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
..
bootstrap Ignore Bootstrap Token secrets that don't use predictable names. 2017-02-20 11:38:21 -08:00
certificates react to informer updates 2017-02-13 09:18:32 -05:00
cloud react to informer updates 2017-02-13 09:18:32 -05:00
cronjob Modify CronJob API to add job history limits, cleanup jobs in controller 2017-02-25 06:51:54 -05:00
daemon Make DaemonSet respect critical pods annotation when scheduling 2017-02-27 09:59:45 -08:00
deployment fix rsListerSynced and podListerSynced for DeploymentController 2017-03-01 14:17:51 +08:00
disruption react to informer updates 2017-02-13 09:18:32 -05:00
endpoint react to informer updates 2017-02-13 09:18:32 -05:00
garbagecollector gc changes 2017-02-28 23:05:41 -08:00
job react to informer updates 2017-02-13 09:18:32 -05:00
namespace Merge pull request #41652 from ncdc/shared-informers-13-namespace 2017-02-23 09:36:38 -08:00
node fix go vet issues 2017-02-27 21:24:45 -08:00
podautoscaler HPA Controller: Use Custom Metrics API 2017-03-01 10:21:50 -05:00
podgc react to informer updates 2017-02-13 09:18:32 -05:00
replicaset gc changes 2017-02-28 23:05:41 -08:00
replication gc changes 2017-02-28 23:05:41 -08:00
resourcequota Switch resourcequota controller to shared informers 2017-02-14 12:20:27 -05:00
route Switch route controller to shared informers 2017-02-13 15:21:33 -05:00
service Switch scheduler to use generated listers/informers 2017-02-23 09:57:12 -05:00
serviceaccount Switch serviceaccounts controller to generated shared informers 2017-02-14 14:21:14 -05:00
statefulset statefulset: wait for pvc cache sync 2017-03-01 12:16:35 -05:00
ttl react to informer updates 2017-02-13 09:18:32 -05:00
volume Implement support for mount options in PVs 2017-03-01 11:50:40 -05:00
.import-restrictions add import restrictions 2016-10-13 16:10:24 -07:00
BUILD Update bazel 2017-02-27 06:48:13 -05:00
client_builder.go Make controller-manager resilient to stale serviceaccount tokens 2017-02-17 23:59:00 -05:00
controller_ref_manager.go gc changes 2017-02-28 23:05:41 -08:00
controller_utils_test.go Deployment: filter out old RSes that are deleted or with non-zero replicas before cleanup 2017-02-16 14:48:10 -08:00
controller_utils.go gc changes 2017-02-28 23:05:41 -08:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
lookup_cache.go Use fnv.New32a() in hash instead adler32 2017-02-15 14:03:54 +08:00
OWNERS Add janetkuo to approvers for controllers 2017-02-08 14:37:25 -08:00