You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: vertical-pod-autoscaler/docs/flags.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,12 +54,13 @@ This document is auto-generated from the flag definitions in the VPA recommender
54
54
|`--alsologtostderr`|| log to standard error as well as files (no effect when -logtostderr=true) |
55
55
|`--checkpoints-gc-interval`| 10m0s | How often orphaned checkpoints should be garbage collected |
56
56
|`--checkpoints-timeout`| 1m0s | Timeout for writing checkpoints since the start of the recommender's main loop |
57
+
|`--confidence-interval-cpu`| 24h0m0s | The time interval used for computing the confidence multiplier for the CPU lower and upper bound. Default: 24h |
58
+
|`--confidence-interval-memory`| 24h0m0s | The time interval used for computing the confidence multiplier for the memory lower and upper bound. Default: 24h |
57
59
|`--container-name-label`| "name" | Label name to look for container names |
58
60
|`--container-namespace-label`| "namespace" | Label name to look for container namespaces |
59
61
|`--container-pod-name-label`| "pod_name" | Label name to look for container pod names |
60
62
|`--container-recommendation-max-allowed-cpu`|| Maximum amount of CPU that will be recommended for a container. VerticalPodAutoscaler-level maximum allowed takes precedence over the global maximum allowed. |
61
63
|`--container-recommendation-max-allowed-memory`|| Maximum amount of memory that will be recommended for a container. VerticalPodAutoscaler-level maximum allowed takes precedence over the global maximum allowed. |
62
-
|`--cpu-confidence-interval`| 24h0m0s | The time interval used for computing the confidence multiplier for the CPU target recommendation. Default: 24h |
63
64
|`--cpu-histogram-decay-half-life`| 24h0m0s | The amount of time it takes a historical CPU usage sample to lose half of its weight. |
64
65
|`--cpu-integer-post-processor-enabled`|| Enable the cpu-integer recommendation post processor. The post processor will round up CPU recommendations to a whole CPU for pods which were opted in by setting an appropriate label on VPA object (experimental) |
65
66
|`--external-metrics-cpu-metric`|| ALPHA. Metric to use with external metrics provider for CPU usage. |
@@ -85,7 +86,6 @@ This document is auto-generated from the flag definitions in the VPA recommender
85
86
|`--logtostderr`| true | log to standard error instead of files |
86
87
|`--memory-aggregation-interval`| 24h0m0s | The length of a single interval, for which the peak memory usage is computed. Memory usage peaks are aggregated in multiples of this interval. In other words there is one memory usage sample per interval (the maximum usage over that interval) |
87
88
|`--memory-aggregation-interval-count`| 8 | The number of consecutive memory-aggregation-intervals which make up the MemoryAggregationWindowLength which in turn is the period for memory usage aggregation by VPA. In other words, MemoryAggregationWindowLength = memory-aggregation-interval * memory-aggregation-interval-count. |
88
-
|`--memory-confidence-interval`| 24h0m0s | The time interval used for computing the confidence multiplier for the memory target recommendation. Default: 24h |
89
89
|`--memory-histogram-decay-half-life`| 24h0m0s | The amount of time it takes a historical memory usage sample to lose half of its weight. In other words, a fresh usage sample is twice as 'important' as one with age equal to the half life period. |
90
90
|`--memory-saver`|| If true, only track pods which have an associated VPA |
91
91
|`--metric-for-pod-labels`| "up{job=\"kubernetes-pods\"}" | Which metric to look for pod labels in metrics |
Copy file name to clipboardExpand all lines: vertical-pod-autoscaler/pkg/recommender/logic/recommender.go
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -32,11 +32,11 @@ var (
32
32
targetCPUPercentile=flag.Float64("target-cpu-percentile", 0.9, "CPU usage percentile that will be used as a base for CPU target recommendation. Doesn't affect CPU lower bound, CPU upper bound nor memory recommendations.")
33
33
lowerBoundCPUPercentile=flag.Float64("recommendation-lower-bound-cpu-percentile", 0.5, `CPU usage percentile that will be used for the lower bound on CPU recommendation.`)
34
34
upperBoundCPUPercentile=flag.Float64("recommendation-upper-bound-cpu-percentile", 0.95, `CPU usage percentile that will be used for the upper bound on CPU recommendation.`)
35
-
cpuConfidenceInterval=flag.Duration("cpu-confidence-interval", time.Hour*24, "The time interval used for computing the confidence multiplier for the CPU target recommendation. Default: 24h")
35
+
confidenceIntervalCPU=flag.Duration("confidence-interval-cpu", time.Hour*24, "The time interval used for computing the confidence multiplier for the CPU lower and upper bound. Default: 24h")
36
36
targetMemoryPercentile=flag.Float64("target-memory-percentile", 0.9, "Memory usage percentile that will be used as a base for memory target recommendation. Doesn't affect memory lower bound nor memory upper bound.")
37
37
lowerBoundMemoryPercentile=flag.Float64("recommendation-lower-bound-memory-percentile", 0.5, `Memory usage percentile that will be used for the lower bound on memory recommendation.`)
38
38
upperBoundMemoryPercentile=flag.Float64("recommendation-upper-bound-memory-percentile", 0.95, `Memory usage percentile that will be used for the upper bound on memory recommendation.`)
39
-
memoryConfidenceInterval=flag.Duration("memory-confidence-interval", time.Hour*24, "The time interval used for computing the confidence multiplier for the memory target recommendation. Default: 24h")
39
+
confidenceIntervalMemory=flag.Duration("confidence-interval-memory", time.Hour*24, "The time interval used for computing the confidence multiplier for the memory lower and upper bound. Default: 24h")
40
40
humanizeMemory=flag.Bool("humanize-memory", false, "Convert memory values in recommendations to the highest appropriate SI unit with up to 2 decimal places for better readability.")
41
41
roundCPUMillicores=flag.Int("round-cpu-millicores", 1, `CPU recommendation rounding factor in millicores. The CPU value will always be rounded up to the nearest multiple of this factor.`)
0 commit comments