PodGroupSchedulingPolicy defines the scheduling configuration for a PodGroup. Exactly one policy must be set. The policy is chosen at creation time by setting either the Basic or Gang field. The PodGroup may not change policy after creation. Fields within chosen policy may be updated after creation when their individual fields allow it.
| Name | Type | Description | Notes |
|---|---|---|---|
| basic | object | basic specifies that the pods in this group should be scheduled using standard Kubernetes scheduling behavior. Setting this field at group creation time opts this group to basic scheduling; this field cannot be changed afterward. | [optional] |
| gang | V1alpha3GangSchedulingPolicy | [optional] |
from kubernetes.client.models.v1alpha3_pod_group_scheduling_policy import V1alpha3PodGroupSchedulingPolicy
# TODO update the JSON string below
json = "{}"
# create an instance of V1alpha3PodGroupSchedulingPolicy from a JSON string
v1alpha3_pod_group_scheduling_policy_instance = V1alpha3PodGroupSchedulingPolicy.from_json(json)
# print the JSON string representation of the object
print(V1alpha3PodGroupSchedulingPolicy.to_json())
# convert the object into a dict
v1alpha3_pod_group_scheduling_policy_dict = v1alpha3_pod_group_scheduling_policy_instance.to_dict()
# create an instance of V1alpha3PodGroupSchedulingPolicy from a dict
v1alpha3_pod_group_scheduling_policy_from_dict = V1alpha3PodGroupSchedulingPolicy.from_dict(v1alpha3_pod_group_scheduling_policy_dict)