Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.08 KB

File metadata and controls

28 lines (21 loc) · 1.08 KB

V1VolumeNodeAffinity

VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.

Properties

Name Type Description Notes
required V1NodeSelector [optional]

Example

from kubernetes.client.models.v1_volume_node_affinity import V1VolumeNodeAffinity

# TODO update the JSON string below
json = "{}"
# create an instance of V1VolumeNodeAffinity from a JSON string
v1_volume_node_affinity_instance = V1VolumeNodeAffinity.from_json(json)
# print the JSON string representation of the object
print(V1VolumeNodeAffinity.to_json())

# convert the object into a dict
v1_volume_node_affinity_dict = v1_volume_node_affinity_instance.to_dict()
# create an instance of V1VolumeNodeAffinity from a dict
v1_volume_node_affinity_from_dict = V1VolumeNodeAffinity.from_dict(v1_volume_node_affinity_dict)

[Back to Model list] [Back to API list] [Back to README]