Class NodeGroupAutoscalingPolicy (1.10.1)

NodeGroupAutoscalingPolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

NameDescription
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.