Class SchedulingNodeAffinity (1.3.0)

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

Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. Based on https://cloud.google.com/compute/docs/reference/rest/v1/instances/setScheduling

Attributes

NameDescription
key str
The label key of Node resource to reference.
operator google.cloud.vmmigration_v1.types.SchedulingNodeAffinity.Operator
The operator to use for the node resources specified in the ``values`` parameter.
values Sequence[str]
Corresponds to the label values of Node resource.

Inheritance

builtins.object > proto.message.Message > SchedulingNodeAffinity

Classes

Operator

Operator(value)

Possible types of node selection operators. Valid operators are IN for affinity and NOT_IN for anti-affinity.