PodGroupSchedulingConstraints defines scheduling constraints (e.g. topology) for a PodGroup.
| 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] |
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)