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
+4-16Lines changed: 4 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,11 +14,7 @@ This document is auto-generated from the flag definitions in the VPA admission-c
14
14
|`address`| string | ":8944" | The address to expose Prometheus metrics. |
15
15
|`alsologtostderr`||| log to standard error as well as files (no effect when -logtostderr=true) |
16
16
|`client-ca-file`| string | "/etc/tls-certs/caCert.pem" | Path to CA PEM file. |
17
-
<<<<<<< HEAD
18
-
|`feature-gates`| mapStringBool || A set of key=value pairs that describe feature gates for alpha/experimental features. Options are:<br>AllAlpha=true\|false (ALPHA - default=false)<br>AllBeta=true\|false (BETA - default=false)<br>InPlaceOrRecreate=true\|false (BETA - default=true)<br>PerVPAConfig=true\|false (ALPHA - default=false) |
19
-
=======
20
17
|`feature-gates`| mapStringBool || A set of key=value pairs that describe feature gates for alpha/experimental features. Options are:<br>AllAlpha=true\|false (ALPHA - default=false)<br>AllBeta=true\|false (BETA - default=false)<br>InPlaceOrRecreate=true\|false (BETA - default=true)<br>NativeSidecar=true\|false (ALPHA - default=false) |
21
-
>>>>>>> a4748ee23 (adding feature flag `NativeSidecar`)
22
18
|`ignored-vpa-object-namespaces`| string || A comma-separated list of namespaces to ignore when searching for VPA objects. Leave empty to avoid ignoring any namespaces. These namespaces will not be cleaned by the garbage collector. |
23
19
|`kube-api-burst`| float | 100 | QPS burst limit when making requests to Kubernetes apiserver |
24
20
|`kube-api-qps`| float | 50 | QPS limit when making requests to Kubernetes apiserver |
@@ -72,11 +68,7 @@ This document is auto-generated from the flag definitions in the VPA recommender
72
68
|`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) |
73
69
|`external-metrics-cpu-metric`| string || ALPHA. Metric to use with external metrics provider for CPU usage. |
74
70
|`external-metrics-memory-metric`| string || ALPHA. Metric to use with external metrics provider for memory usage. |
75
-
<<<<<<< HEAD
76
-
|`feature-gates`| mapStringBool || A set of key=value pairs that describe feature gates for alpha/experimental features. Options are:<br>AllAlpha=true\|false (ALPHA - default=false)<br>AllBeta=true\|false (BETA - default=false)<br>InPlaceOrRecreate=true\|false (BETA - default=true)<br>PerVPAConfig=true\|false (ALPHA - default=false) |
77
-
=======
78
71
|`feature-gates`| mapStringBool || A set of key=value pairs that describe feature gates for alpha/experimental features. Options are:<br>AllAlpha=true\|false (ALPHA - default=false)<br>AllBeta=true\|false (BETA - default=false)<br>InPlaceOrRecreate=true\|false (BETA - default=true)<br>NativeSidecar=true\|false (ALPHA - default=false) |
79
-
>>>>>>> a4748ee23 (adding feature flag `NativeSidecar`)
80
72
|`history-length`| string | "8d" | How much time back prometheus have to be queried to get historical metrics |
81
73
|`history-resolution`| string | "1h" | Resolution at which Prometheus is queried for historical metrics |
82
74
|`humanize-memory`||| DEPRECATED: Convert memory values in recommendations to the highest appropriate SI unit with up to 2 decimal places for better readability. This flag is deprecated and will be removed in a future version. Use --round-memory-bytes instead. |
@@ -103,9 +95,9 @@ This document is auto-generated from the flag definitions in the VPA recommender
103
95
|`metric-for-pod-labels`| string | "up{job=\"kubernetes-pods\"}" | Which metric to look for pod labels in metrics |
104
96
|`min-checkpoints`| int | 10 | Minimum number of checkpoints to write per recommender's main loop. WARNING: this flag is deprecated and doesn't have any effect. It will be removed in a future release. Refer to update-worker-count to influence the minimum number of checkpoints written per loop. |
105
97
|`one-output`| severity || If true, only write logs to their native level (vs also writing to each lower severity level; no effect when -logtostderr=true) |
106
-
|`oom-bump-up-ratio`| float | 1.2 |Default memory bump up ratio when OOM occurs. This value applies to all VPAs unless overridden in the VPA spec. Default is 1.2. |
107
-
|`oom-min-bump-up-bytes`| float | 1.048576e+08 |Default minimal increase of memory (in bytes) when OOM occurs. This value applies to all VPAs unless overridden in the VPA spec. Default is 100 * 1024 * 1024 (100Mi).|
108
-
|`password`| string || The password used in the prometheus server basic auth. Can also be set via the PROMETHEUS_PASSWORD environment variable|
98
+
|`oom-bump-up-ratio`| float | 1.2 |The memory bump up ratio when OOM occurred, default is 1.2. |
99
+
|`oom-min-bump-up-bytes`| float | 1.048576e+08 |The minimal increase of memory when OOM occurred in bytes, default is 100 * 1024 * 1024 |
100
+
|`password`| string || The password used in the prometheus server basic auth |
109
101
|`pod-label-prefix`| string | "pod_label_" | Which prefix to look for pod labels in metrics |
110
102
|`pod-name-label`| string | "kubernetes_pod_name" | Label name to look for pod names |
111
103
|`pod-namespace-label`| string | "kubernetes_namespace" | Label name to look for pod namespaces |
@@ -135,7 +127,7 @@ This document is auto-generated from the flag definitions in the VPA recommender
135
127
|`target-memory-percentile`| float | 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. |
136
128
|`update-worker-count`| int | 10 | Number of concurrent workers to update VPA recommendations and checkpoints. When increasing this setting, make sure the client-side rate limits ('kube-api-qps' and 'kube-api-burst') are either increased or turned off as well. Determines the minimum number of VPA checkpoints written per recommender loop. |
137
129
|`use-external-metrics`||| ALPHA. Use an external metrics provider instead of metrics_server. |
138
-
|`username`| string || The username used in the prometheus server basic auth. Can also be set via the PROMETHEUS_USERNAME environment variable|
130
+
|`username`| string || The username used in the prometheus server basic auth |
139
131
|`v,`|| : 4 | , --v Level set the log level verbosity (default 4) |
140
132
|`vmodule`| moduleSpec || comma-separated list of pattern=N settings for file-filtered logging |
141
133
|`vpa-object-namespace`| string || Specifies the namespace to search for VPA objects. Leave empty to include all namespaces. If provided, the garbage collector will only clean this namespace. |
@@ -152,11 +144,7 @@ This document is auto-generated from the flag definitions in the VPA updater cod
152
144
|`eviction-rate-burst`| int | 1 | Burst of pods that can be evicted. |
153
145
|`eviction-rate-limit`| float || Number of pods that can be evicted per seconds. A rate limit set to 0 or -1 will disable<br>the rate limiter. (default -1) |
154
146
|`eviction-tolerance`| float | 0.5 | Fraction of replica count that can be evicted for update, if more than one pod can be evicted. |
155
-
<<<<<<< HEAD
156
-
|`feature-gates`| mapStringBool || A set of key=value pairs that describe feature gates for alpha/experimental features. Options are:<br>AllAlpha=true\|false (ALPHA - default=false)<br>AllBeta=true\|false (BETA - default=false)<br>InPlaceOrRecreate=true\|false (BETA - default=true)<br>PerVPAConfig=true\|false (ALPHA - default=false) |
157
-
=======
158
147
|`feature-gates`| mapStringBool || A set of key=value pairs that describe feature gates for alpha/experimental features. Options are:<br>AllAlpha=true\|false (ALPHA - default=false)<br>AllBeta=true\|false (BETA - default=false)<br>InPlaceOrRecreate=true\|false (BETA - default=true)<br>NativeSidecar=true\|false (ALPHA - default=false) |
159
-
>>>>>>> a4748ee23 (adding feature flag `NativeSidecar`)
160
148
|`ignored-vpa-object-namespaces`| string || A comma-separated list of namespaces to ignore when searching for VPA objects. Leave empty to avoid ignoring any namespaces. These namespaces will not be cleaned by the garbage collector. |
161
149
|`in-recommendation-bounds-eviction-lifetime-threshold`|| 12h0m0s | duration Pods that live for at least that long can be evicted even if their request is within the [MinRecommended...MaxRecommended] range |
162
150
|`kube-api-burst`| float | 100 | QPS burst limit when making requests to Kubernetes apiserver |
Copy file name to clipboardExpand all lines: vertical-pod-autoscaler/pkg/admission-controller/resource/pod/recommendation/recommendation_provider_test.go
0 commit comments