kubernetes/pkg/controller
Kubernetes Submit Queue ca8d97d673 Merge pull request #53743 from DirectXMan12/feature/polymorphic-scale-client
Automatic merge from submit-queue (batch tested with PRs 53743, 53564). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Polymorphic Scale Client

This PR introduces a polymorphic scale client based on discovery information that's able to scale scalable resources in arbitrary group-versions, as long as they present the scale subresource in their discovery information.

Currently, it supports `extensions/v1beta1.Scale` and `autoscaling/v1.Scale`, but supporting other versions of scale if/when we produce them should be fairly trivial.

It also updates the HPA to use this client, meaning the HPA will now work on any scalable resource, not just things in the `extensions/v1beta1` API group.

**Release note**:
```release-note
Introduces a polymorphic scale client, allowing HorizontalPodAutoscalers to properly function on scalable resources in any API group.
```

Unblocks #29698
Unblocks #38756
Unblocks #49504 
Fixes #38810
2017-10-23 13:39:07 -07:00
..
bootstrap update BUILD files 2017-10-15 18:18:13 -07:00
certificates update BUILD files 2017-10-15 18:18:13 -07:00
cloud update BUILD files 2017-10-15 18:18:13 -07:00
cronjob Update bazel 2017-10-18 17:24:04 +02:00
daemon Update bazel 2017-10-18 17:24:04 +02:00
deployment Merge pull request #53984 from sttts/sttts-legacyscheme 2017-10-18 10:49:10 -07:00
disruption Update bazel 2017-10-18 17:24:04 +02:00
endpoint Update bazel 2017-10-18 17:24:04 +02:00
garbagecollector Update bazel 2017-10-18 17:24:04 +02:00
history update BUILD files 2017-10-15 18:18:13 -07:00
job Update bazel 2017-10-18 17:24:04 +02:00
namespace Update bazel 2017-10-18 17:24:04 +02:00
node Merge pull request #53447 from yastij/nodecontroller-clean-backwards-newNodecontroller 2017-10-20 04:19:28 -07:00
podautoscaler Merge pull request #53743 from DirectXMan12/feature/polymorphic-scale-client 2017-10-23 13:39:07 -07:00
podgc update BUILD files 2017-10-15 18:18:13 -07:00
replicaset Update bazel 2017-10-18 17:24:04 +02:00
replication Update bazel 2017-10-18 17:24:04 +02:00
resourcequota Since replenishmentControllers was generated by ctx.InformerFactory, remove "replenishmentControllers []cache.Controller" which is never used. 2017-10-17 14:05:55 +08:00
route Merge pull request #51402 from hzxuzhonghu/event-broadcaster 2017-10-20 08:06:14 -07:00
service add event broadcaster logging for all contoller managers 2017-10-19 09:18:43 +08:00
serviceaccount update BUILD files 2017-10-15 18:18:13 -07:00
statefulset Merge pull request #47699 from supereagle/fix-typos 2017-10-17 02:35:52 -07:00
testutil Update bazel 2017-10-18 17:24:04 +02:00
ttl update BUILD files 2017-10-15 18:18:13 -07:00
volume Merge pull request #51402 from hzxuzhonghu/event-broadcaster 2017-10-20 08:06:14 -07:00
.import-restrictions add import restrictions 2016-10-13 16:10:24 -07:00
BUILD Update bazel 2017-10-18 17:24:04 +02:00
client_builder.go pkg/api/legacyscheme: fixup imports 2017-10-18 17:23:55 +02:00
controller_ref_manager.go Migrate to GetControllerOf from meta/v1 package 2017-08-06 22:41:58 +10:00
controller_ref_manager_test.go Merge pull request #50353 from zhangxiaoyu-zidif/Delete-redundant-expectError-for-controller-ref-test 2017-08-12 00:00:55 -07:00
controller_utils.go Slow-start batch pod creation of rs, rc, ds, jobs 2017-09-01 09:23:43 -06:00
controller_utils_test.go pkg/api/legacyscheme: fixup imports 2017-10-18 17:23:55 +02: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 remove some people from OWNERS so they don't get reviews anymore 2017-07-13 10:02:21 -07:00