kubernetes/pkg/api
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
..
endpoints update BUILD files 2017-10-15 18:18:13 -07:00
events update BUILD files 2017-10-15 18:18:13 -07:00
fuzzer update BUILD files 2017-10-15 18:18:13 -07:00
helper update BUILD files 2017-10-15 18:18:13 -07:00
install Update bazel 2017-10-18 17:24:04 +02:00
legacyscheme Update bazel 2017-10-18 17:24:04 +02:00
persistentvolume update BUILD files 2017-10-15 18:18:13 -07:00
pod update BUILD files 2017-10-15 18:18:13 -07:00
ref Update bazel 2017-10-18 17:24:04 +02:00
resource update BUILD files 2017-10-15 18:18:13 -07:00
service update BUILD files 2017-10-15 18:18:13 -07:00
testapi Update bazel 2017-10-18 17:24:04 +02:00
testing Fuzz label selectors 2017-10-19 11:01:45 -04:00
unversioned update BUILD files 2017-10-15 18:18:13 -07:00
v1 Add fuzz test for RC/RS conversion. 2017-10-18 12:37:30 -07:00
validation Update bazel 2017-10-18 17:24:04 +02:00
annotation_key_constants.go mark created-by annotation as deprecated 2017-08-15 17:08:07 -07:00
BUILD Update bazel 2017-10-18 17:24:04 +02:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
field_constants.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
json.go Change taint/toleration annotations to api fields. 2017-02-22 09:27:42 -05:00
objectreference.go move ref.go to its own subpackage 2017-04-13 10:02:43 -07:00
OWNERS Add liggitt as an API approver. Note that bgrant0607 is an approver, but 2017-08-23 11:32:05 -07:00
register.go Move global scheme to pkg/api/legacyscheme 2017-10-18 13:26:56 +02:00
resource.go Remove previous local storage resource name 'scratch" and "overlay" 2017-08-27 12:03:31 +08:00
taint.go move ref.go to its own subpackage 2017-04-13 10:02:43 -07:00
taint_test.go move ref.go to its own subpackage 2017-04-13 10:02:43 -07:00
toleration.go move ref.go to its own subpackage 2017-04-13 10:02:43 -07:00
types.go fix some typos in api types 2017-09-26 10:56:44 +08:00
zz_generated.deepcopy.go Generated files 2017-09-07 14:18:40 -04:00