Class PlacementPolicy (2.48.0)

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

PlacementPolicy defines the placement policy used by the node pool.

Attributes

Name Description
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.