Class PlacementPolicy (2.27.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_v1beta1.types.NodePool.PlacementPolicy.Type
The type of placement.
tpu_topology str
TPU placement topology for pod slice node pool. https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies

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.