From bff6274b1cd19b129bee0dfba0b3f8a679247acb Mon Sep 17 00:00:00 2001 From: ayushpatil2122 <112652819+ayushpatil2122@users.noreply.github.com> Date: Mon, 16 Sep 2024 00:40:24 +0530 Subject: [PATCH] Update _index.md --- .../labels-annotations-taints/_index.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/content/en/docs/reference/labels-annotations-taints/_index.md b/content/en/docs/reference/labels-annotations-taints/_index.md index 0cbea544d1dee..b13891d7c2231 100644 --- a/content/en/docs/reference/labels-annotations-taints/_index.md +++ b/content/en/docs/reference/labels-annotations-taints/_index.md @@ -289,6 +289,25 @@ in the StatefulSet topic for more details. Note the [PodIndexLabel](/docs/reference/command-line-tools-reference/feature-gates/) feature gate must be enabled for this label to be added to pods. +### autoscaling.alpha.kubernetes.io/behavior (deprecated) +Type : Annotation + +Example: `autoscaling.alpha.kubernetes.io/behavior: ` + +Used on: Horizontal Pod Autoscaler (HPA) + +This annotation was used to define the scaling behavior for the Horizontal Pod Autoscaler in early versions of Kubernetes. +The value is a JSON-encoded string that specifies how scaling up or down should occur, +including parameters like stabilization windows and scaling policies (e.g., step sizes or rate limits for scaling actions). + +If this annotation is set, it controls the scaling decisions of the HPA. However, +it is an alpha feature and is not officially registered, having been replaced by the stable behavior field in the HPA v2beta2 API. + +{{< note >}} +This annotation is now deprecated and should not be used in new configurations. +{{< /note >}} + + ### cluster-autoscaler.kubernetes.io/safe-to-evict Type: Annotation