Skip to content

Commit 975bd9e

Browse files
authored
Improvement: Remove Heapster content from HPA. (#29547)
* Improvement: Remove Heapster content from HPA. * Add more descriptive link for Metrics Server.
1 parent 91d24e6 commit 975bd9e

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

content/en/docs/tasks/run-application/horizontal-pod-autoscale.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,7 @@ or the custom metrics API (for all other metrics).
6868

6969
The HorizontalPodAutoscaler normally fetches metrics from a series of aggregated APIs (`metrics.k8s.io`,
7070
`custom.metrics.k8s.io`, and `external.metrics.k8s.io`). The `metrics.k8s.io` API is usually provided by
71-
metrics-server, which needs to be launched separately. See
72-
[metrics-server](/docs/tasks/debug-application-cluster/resource-metrics-pipeline/#metrics-server)
73-
for instructions. The HorizontalPodAutoscaler can also fetch metrics directly from Heapster.
74-
75-
{{< note >}}
76-
{{< feature-state state="deprecated" for_k8s_version="v1.11" >}}
77-
Fetching metrics from Heapster is deprecated as of Kubernetes 1.11.
78-
{{< /note >}}
71+
metrics-server, which needs to be launched separately. For more information about resource metrics, see [Metrics Server](/docs/tasks/debug-application-cluster/resource-metrics-pipeline/#metrics-server).
7972

8073
See [Support for metrics APIs](#support-for-metrics-apis) for more details.
8174

@@ -344,8 +337,6 @@ APIs, cluster administrators must ensure that:
344337

345338
* For external metrics, this is the `external.metrics.k8s.io` API. It may be provided by the custom metrics adapters provided above.
346339

347-
* The `--horizontal-pod-autoscaler-use-rest-clients` is `true` or unset. Setting this to false switches to Heapster-based autoscaling, which is deprecated.
348-
349340
For more information on these different metrics paths and how they differ please see the relevant design proposals for
350341
[the HPA V2](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/autoscaling/hpa-v2.md),
351342
[custom.metrics.k8s.io](https://github.com/kubernetes/community/blob/master/contributors/design-proposals/instrumentation/custom-metrics-api.md)

0 commit comments

Comments
 (0)