Class PlacementPolicy (2.44.0)

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

PlacementPolicy defines the placement policy used by the node pool.

Attributes

NameDescription
type_ google.cloud.container_v1.types.NodePool.PlacementPolicy.Type
The type of placement.
tpu_topology str
Optional. TPU placement topology for pod slice node pool. https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies
policy_name str
If set, refers to the name of a custom resource policy supplied by the user. The resource policy must be in the same project and region as the node pool. If not found, InvalidArgument error is returned.

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.