# Class NodeGroupAutoscalingPolicy (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8

    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.