# Class NodePool (0.8.1)

0.8.1 (latest) 0.8.0 0.7.0 0.6.0 0.5.18 0.4.1 0.3.0 0.2.1 0.1.0

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

A set of Kubernetes nodes in a cluster with common
configuration and specification.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Required. The resource name of the node pool. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the node pool was created. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the node pool was last updated. |
| `labels` | `MutableMapping[str, str]` Labels associated with this resource. |
| `node_location` | `str` Name of the Google Distributed Cloud Edge zone where this node pool will be created. For example: `us-central1-edge-customer-a`. |
| `node_count` | `int` Required. The number of nodes in the pool. |
| `machine_filter` | `str` Only machines matching this filter will be allowed to join the node pool. The filtering language accepts strings like "name=", and is documented in more detail in `AIP-160 `__. |
| `local_disk_encryption` | `https://docs.cloud.google.com/python/docs/reference/edgecontainer/latest/google.cloud.edgecontainer_v1.types.NodePool.LocalDiskEncryption` Optional. Local disk encryption options. This field is only used when enabling CMEK support. |
| `node_version` | `str` Output only. The lowest release version among all worker nodes. |
| `node_config` | `https://docs.cloud.google.com/python/docs/reference/edgecontainer/latest/google.cloud.edgecontainer_v1.types.NodePool.NodeConfig` Optional. Configuration for each node in the NodePool |

## Classes

### LabelsEntry

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

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |

### LocalDiskEncryption

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

Configuration for CMEK support for edge machine local disk
encryption.

### NodeConfig

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

Configuration for each node in the NodePool