Class SchedulingNodeAffinity (1.8.4)

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

Name Description
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 MutableSequence[str]
Corresponds to the label values of Node resource.

Classes

Operator

Operator(value)

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