NodeGroupAutoscalingPolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
---|---|
Name | Description |
max_nodes |
int
The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100. This field is a member of oneof _ _max_nodes .
|
min_nodes |
int
The minimum number of nodes that the group should have. This field is a member of oneof _ _min_nodes .
|
mode |
str
The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes. Check the Mode enum for the list of possible values. This field is a member of oneof _ _mode .
|
Classes
Mode
Mode(value)
The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes.
Values: UNDEFINED_MODE (0): A value indicating that the enum field is not set. MODE_UNSPECIFIED (371348091): No description available. OFF (78159): Autoscaling is disabled. ON (2527): Autocaling is fully enabled. ONLY_SCALE_OUT (152713670): Autoscaling will only scale out and will not remove nodes.