Add documentation for LogarithmicScaleDown featuregate

This commit is contained in:
MinpengJin 2024-06-18 18:53:12 +08:00 committed by 象里
parent 59359afddc
commit 76ec4489c1
2 changed files with 5 additions and 2 deletions

View File

@ -339,8 +339,7 @@ prioritize scaling down pods based on the following general algorithm:
the pod with the lower value will come first.
1. Pods on nodes with more replicas come before pods on nodes with fewer replicas.
1. If the pods' creation times differ, the pod that was created more recently
comes before the older pod (the creation times are bucketed on an integer log scale
when the `LogarithmicScaleDown` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/) is enabled)
comes before the older pod (the creation times are bucketed on an integer log scale).
If all of the above match, then selection is random.

View File

@ -13,6 +13,10 @@ stages:
- stage: beta
defaultValue: true
fromVersion: "1.22"
toVersion: "1.30"
- stage: stable
defaultValue: true
fromVersion: "1.31"
---
Enable semi-random selection of pods to evict on controller scaledown
based on logarithmic bucketing of pod timestamps.