Class PlacementPolicy (2.22.0)

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

PlacementPolicy defines the placement policy used by the node pool.

Attribute

NameDescription
type_ google.cloud.container_v1beta1.types.NodePool.PlacementPolicy.Type
The type of placement.

Classes

Type

Type(value)

Type defines the type of placement policy.

Values: TYPE_UNSPECIFIED (0): TYPE_UNSPECIFIED specifies no requirements on nodes placement. COMPACT (1): COMPACT specifies node placement in the same availability domain to ensure low communication latency.