mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-04-27 00:58:13 -04:00
Automatic merge from submit-queue (batch tested with PRs 56410, 56707, 56661, 54998, 56722). 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>. Fix autoscaling API documentation **What this PR does / why we need it**: This PR fixes the API documentation generated for HorizontalPodAutoscaler resource. **Which issue(s) this PR fixes**: The current API doc for `MetricSpec` and `MetricStatus` is confusing. Users get no idea what can be used as the value for the `type` field, because the doc says this: ``` type is the type of metric source. It should match one of the fields below. ``` While acceptable in the source code, it makes no senses when reading the API doc, especially when the "`type`" field is listed as the last row in a table (see: https://kubernetes.io/docs/api-reference/v1.8/#metricspec-v2beta1-autoscaling ) **Special notes for your reviewer**: This PR makes no changes to the code behavior. **Release note**: ```release-note NONE ``` |
||
|---|---|---|
| .. | ||
| admissionregistration.k8s.io.json | ||
| admissionregistration.k8s.io_v1alpha1.json | ||
| admissionregistration.k8s.io_v1beta1.json | ||
| api.json | ||
| apis.json | ||
| apps.json | ||
| apps_v1.json | ||
| apps_v1alpha1.json | ||
| apps_v1beta1.json | ||
| apps_v1beta2.json | ||
| authentication.k8s.io.json | ||
| authentication.k8s.io_v1.json | ||
| authentication.k8s.io_v1beta1.json | ||
| authorization.k8s.io.json | ||
| authorization.k8s.io_v1.json | ||
| authorization.k8s.io_v1beta1.json | ||
| autoscaling.json | ||
| autoscaling_v1.json | ||
| autoscaling_v2beta1.json | ||
| batch.json | ||
| batch_v1.json | ||
| batch_v1beta1.json | ||
| batch_v2alpha1.json | ||
| BUILD | ||
| certificates.k8s.io.json | ||
| certificates.k8s.io_v1beta1.json | ||
| events.k8s.io.json | ||
| events.k8s.io_v1beta1.json | ||
| extensions.json | ||
| extensions_v1beta1.json | ||
| logs.json | ||
| networking.k8s.io.json | ||
| networking.k8s.io_v1.json | ||
| policy.json | ||
| policy_v1alpha1.json | ||
| policy_v1beta1.json | ||
| rbac.authorization.k8s.io.json | ||
| rbac.authorization.k8s.io_v1.json | ||
| rbac.authorization.k8s.io_v1alpha1.json | ||
| rbac.authorization.k8s.io_v1beta1.json | ||
| resourceListing.json | ||
| scheduling.k8s.io.json | ||
| scheduling.k8s.io_v1alpha1.json | ||
| settings.k8s.io.json | ||
| settings.k8s.io_v1alpha1.json | ||
| storage.authorization.k8s.io_v1beta1.json | ||
| storage.k8s.io.json | ||
| storage.k8s.io_v1.json | ||
| storage.k8s.io_v1alpha1.json | ||
| storage.k8s.io_v1beta1.json | ||
| v1.json | ||
| version.json | ||