Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.77 KB

File metadata and controls

29 lines (22 loc) · 1.77 KB

V1alpha3PodGroupSchedulingPolicy

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.

Properties

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]

Example

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)

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