Skip to content

ECS  >  Structures  >  Scale

Scale

Structure Class

Scale dataclass

Bases: _SerdeShape

A floating-point percentage of the desired number of tasks to place and keep running in the task set.

Attributes

unit class-attribute instance-attribute
unit: str | None = ...

The unit of measure for the scale value.

value class-attribute instance-attribute
value: float = ...

The value, specified as a percent total of a service's desiredCount, to scale the task set. Accepted values are numbers between 0 and 100.