ScalingConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)Autoscaling config for an Agones fleet.
Attributes |
|
|---|---|
| Name | Description |
name |
str
Required. The name of the Scaling Config |
fleet_autoscaler_spec |
str
Required. Agones fleet autoscaler spec. Example spec: https://agones.dev/site/docs/reference/fleetautoscaler/ |
selectors |
Sequence[
Labels used to identify the Game Server Clusters to which this Agones scaling config applies. A Game Server Cluster is subject to this Agones scaling config if its labels match any of the selector entries. |
schedules |
Sequence[
The schedules to which this Scaling Config applies. |
Methods
__delattr__
__delattr__(key)Delete the value on the given field.
This is generally equivalent to setting a falsy value.
__eq__
__eq__(other)Return True if the messages are equal, False otherwise.
__ne__
__ne__(other)Return True if the messages are unequal, False otherwise.
__setattr__
__setattr__(key, value)Set the value on the given field.
For well-known protocol buffer types which are marshalled, either the protocol buffer object or the Python equivalent is accepted.