Skip to content

Commit

Permalink
Merge pull request #7460 from adrianmoisey/fix_docs
Browse files Browse the repository at this point in the history
Clear up the docs about evict-after-oom-threshold
  • Loading branch information
k8s-ci-robot authored Nov 5, 2024
2 parents 213a859 + b310b04 commit 761850e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion vertical-pod-autoscaler/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ Name | Type | Description | Default
|-|-|-|-|
`pod-update-threshold` | Float64 | Ignore updates that have priority lower than the value of this flag | 0.1
`in-recommendation-bounds-eviction-lifetime-threshold` | Duration | Pods that live for at least that long can be evicted even if their request is within the [MinRecommended...MaxRecommended] range | time.Hour*12
`evict-after-oom-threshold` | Duration | Evict pod that has only one container and it OOMed in less than evict-after-oom-threshold since start. | 10*time.Minute
`evict-after-oom-threshold` | Duration | Evict pod that has OOMed in less than evict-after-oom-threshold since start. | 10*time.Minute
`updater-interval` | Duration | How often updater should run | 1*time.Minute
`min-replicas` | Int | Minimum number of replicas to perform update | 2
`eviction-tolerance` | Float64 | Fraction of replica count that can be evicted for update, if more than one pod can be evicted. | 0.5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ var (
podLifetimeUpdateThreshold = flag.Duration("in-recommendation-bounds-eviction-lifetime-threshold", time.Hour*12, "Pods that live for at least that long can be evicted even if their request is within the [MinRecommended...MaxRecommended] range")

evictAfterOOMThreshold = flag.Duration("evict-after-oom-threshold", 10*time.Minute,
`Evict pod that has only one container and it OOMed in less than
evict-after-oom-threshold since start.`)
`Evict pod that has OOMed in less than evict-after-oom-threshold since start.`)
)

// UpdatePriorityCalculator is responsible for prioritizing updates on pods.
Expand Down

0 comments on commit 761850e

Please sign in to comment.