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: README.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -296,15 +296,17 @@ You can also use simplified time specifications.
296
296
If the weekday range or the timezone is not included in the specification, the downscaler can automatically complete the rule when corresponding environment variables are defined.
297
297
298
298
The following environment variables can be used to provide default values:
299
+
299
300
- `DEFAULT_TIMEZONE` defines the time zone to use when not specified in the specification (for example `Europe/Paris`).
300
301
- `DEFAULT_WEEKFRAME` defines the weekday range to use to use when not specified in the specification (for example `Mon-Sun`).
301
302
302
303
For example:
304
+
303
305
- `Mon-Fri 08:00-20:00` interpreted as `Mon-Fri 08:00-20:00 Europe/Paris` when `DEFAULT_TIMEZONE` is set to `Europe/Paris`.
304
306
- `08:00-20:00 Europe/Paris` interpreted as `Mon-Sun 08:00-20:00 Europe/Paris` when `DEFAULT_WEEKFRAME` is set to `Mon-Sun`.
305
307
- `08:00-20:00` will only be valid if both `DEFAULT_TIMEZONE` and `DEFAULT_WEEKFRAME` are defined.
306
308
307
-
If the timezone and/or the weekday range are not provided in the specification and the corresponding default environment variable is not set, the downscaler will raise a clear `ValueError` to prevent ambiguous or unintended behavior.
309
+
If the timezone and/or the weekday range are not provided in the specification and the corresponding default environment variable is not set, the downscaler will raise a clear `ValueError` to prevent ambiguous or unintended behavior.
308
310
309
311
If you want to schedule downtime from 23:30 to 09:30 the following day,
310
312
a configuration like this would be incorrect:
@@ -489,19 +491,18 @@ argument is strongly recommended when using the `--once` argument to process lar
489
491
490
492
`--qps`
491
493
492
-
: Optional: rate of API requests a KubeDownscaler is allowed to send per second
494
+
: Optional: rate of API requests a KubeDownscaler is allowed to send per second
493
495
(default: 0, meaning qps control is disabled)
494
496
495
497
`--burst`
496
498
497
-
: Optional: maximum number of requests a KubeDownscaler can send at once above the QPS limit for
499
+
: Optional: maximum number of requests a KubeDownscaler can send at once above the QPS limit for
498
500
(default: 0, meaning burst control is disabled) Burst must be greater-equal than qps
499
501
500
-
501
502
`--max-retries-on-throttling`
502
503
503
-
: Optional: How many retries to perform when KubeDownscaler hits API Server throttling limits (default: 0). The
504
-
retries are performed using an exponential backoff strategy to reduce the chance of hitting the rate limit again.
504
+
: Optional: How many retries to perform when KubeDownscaler hits API Server throttling limits (default: 0).
505
+
The retries are performed using an exponential backoff strategy to reduce the chance of hitting the rate limit again.
0 commit comments