Skip to content

Commit

Permalink
Merge pull request #64097 from damemi/hpa-metrics-specificity
Browse files Browse the repository at this point in the history
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: kubernetes/community#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
  • Loading branch information
Kubernetes Submit Queue committed Aug 27, 2018
2 parents d0f42e2 + dd7e81a commit fdb5707
Show file tree
Hide file tree
Showing 140 changed files with 22,452 additions and 2,148 deletions.
3,216 changes: 2,427 additions & 789 deletions api/openapi-spec/swagger.json

Large diffs are not rendered by default.

108 changes: 66 additions & 42 deletions api/swagger-spec/autoscaling_v2beta1.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fdb5707

Please sign in to comment.