Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.48 KB

File metadata and controls

28 lines (21 loc) · 1.48 KB

V1alpha2PodGroupSchedulingConstraints

PodGroupSchedulingConstraints defines scheduling constraints (e.g. topology) for a PodGroup.

Properties

Name Type Description Notes
topology List[V1alpha2TopologyConstraint] Topology defines the topology constraints for the pod group. Currently only a single topology constraint can be specified. This may change in the future. [optional]

Example

from kubernetes.client.models.v1alpha2_pod_group_scheduling_constraints import V1alpha2PodGroupSchedulingConstraints

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

# convert the object into a dict
v1alpha2_pod_group_scheduling_constraints_dict = v1alpha2_pod_group_scheduling_constraints_instance.to_dict()
# create an instance of V1alpha2PodGroupSchedulingConstraints from a dict
v1alpha2_pod_group_scheduling_constraints_from_dict = V1alpha2PodGroupSchedulingConstraints.from_dict(v1alpha2_pod_group_scheduling_constraints_dict)

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