sample-controller/vendor/k8s.io
Kubernetes Publisher 9bec8a6a53 Merge pull request #64097 from damemi/hpa-metrics-specificity
Automatic merge from submit-queue (batch tested with PRs 67894, 64097). 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>.

HPA metrics specificity improvements

**What this PR does / why we need it**:
Improves available specificity for HPA metrics by adding metric selector fields for metrics of Pods and Objects.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Implements this KEP: https://github.com/kubernetes/community/pull/2055

**Special notes for your reviewer**:
Need to add/update tests?

**Release note**:

```release-note
Introduces autoscaling/v2beta2 and custom_metrics/v1beta2, which implement metric selectors for Object and Pods metrics, as well as allowing AverageValue targets on Objects, similar to External metrics.
```

/assign @DirectXMan12

Kubernetes-commit: fdb5707194d56cbbd0da11c5be3a2a5653e714c9
2018-08-28 00:29:15 +00:00
..
api Merge pull request #64097 from damemi/hpa-metrics-specificity 2018-08-28 00:29:15 +00:00
apimachinery Merge pull request #66971 from tnozicka/informer-watcher 2018-08-23 16:44:54 +00:00
client-go Merge pull request #64097 from damemi/hpa-metrics-specificity 2018-08-28 00:29:15 +00:00
code-generator Merge pull request #66971 from tnozicka/informer-watcher 2018-08-23 16:44:54 +00:00
kube-openapi Merge pull request #64596 from apelisse/openapi-some-cleanup 2018-06-02 15:41:56 +00:00