Skip to main content

Values

Values are configuration values which decide scaling parameters. They can be set at any scope and therefore can be set via their respective environment variables, cli arguments, namespace annotations and workload annotations

note

The default values shown below are only set on the default scope.

Order

Some of the values have a specific order in which they are evaluated. This means that some values take precedence over others.

Exclusion

Exclusion contains all values which exclude the workload (e.g. Exclude, Exclude Until, Grace Period).

If any of these values exclude the workload, it will not be scaled.

Scaling

Scaling includes all values which influence the state of Scaling the workload should be in (e.g. Force Downtime, Force Uptime, Downscale Period, Downtime, Upscale Period, Uptime).

If Force Downtime or Force Uptime is true/matching during scaling their respective scaling will be used. Otherwise the Downscale Period, Downtime, Upscale Period and Uptime values are evaluated.

note

Currently if Downscale Period and Upscale Period is set, and both match the same time the workload will ignore scaling. This is NOT final intended behavior and you should not rely on this. This will likely change in the future to be seen as an incompatibility.

Downscale Period

Downtime

Upscale Period

Uptime

Exclude

Exclude Until

Force Uptime

Force Downtime

Downscale Replicas

  • Type: Integer
  • Default: 0
  • The Replica count the workload will be scaled to during downtimes.

Grace Period

  • Type: Duration
  • Default: 15 minutes
  • The Duration a workload has to exist for until being scaled the first time. Will check against the timestamp in the time annotation instead of the creation time when set.