Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.57 KB

File metadata and controls

28 lines (21 loc) · 1.57 KB

V1alpha3WorkloadPodGroupSchedulingConstraints

WorkloadPodGroupSchedulingConstraints defines leaf-level scheduling constraints, such as topology.

Properties

Name Type Description Notes
topology List[V1alpha3TopologyConstraint] topology specifies desired topological placements for all pods within the pod group. If unset, no topology placement is requested. [optional]

Example

from kubernetes.client.models.v1alpha3_workload_pod_group_scheduling_constraints import V1alpha3WorkloadPodGroupSchedulingConstraints

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

# convert the object into a dict
v1alpha3_workload_pod_group_scheduling_constraints_dict = v1alpha3_workload_pod_group_scheduling_constraints_instance.to_dict()
# create an instance of V1alpha3WorkloadPodGroupSchedulingConstraints from a dict
v1alpha3_workload_pod_group_scheduling_constraints_from_dict = V1alpha3WorkloadPodGroupSchedulingConstraints.from_dict(v1alpha3_workload_pod_group_scheduling_constraints_dict)

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