Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update _index.md #47942

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions content/en/docs/reference/labels-annotations-taints/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: <JSON-encoded string>`

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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please be aware that we don't document things that are older than 4 releases.
Even if the annotation does fall into this range, we need to clearly state the
releases that support this annotation. Or else, adding this annotation only helps
confusing the users.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

then i just need to add the title autoscaling.alpha.kubernetes.io/behavior and marking it deprecated

{{< /note >}}


### cluster-autoscaler.kubernetes.io/safe-to-evict

Type: Annotation
Expand Down