WorkloadSpec defines the desired state of a Workload.
| Name | Type | Description | Notes |
|---|---|---|---|
| controller_ref | V1alpha2TypedLocalObjectReference | [optional] | |
| pod_group_templates | List[V1alpha2PodGroupTemplate] | PodGroupTemplates is the list of templates that make up the Workload. The maximum number of templates is 8. This field is immutable. |
from kubernetes.client.models.v1alpha2_workload_spec import V1alpha2WorkloadSpec
# TODO update the JSON string below
json = "{}"
# create an instance of V1alpha2WorkloadSpec from a JSON string
v1alpha2_workload_spec_instance = V1alpha2WorkloadSpec.from_json(json)
# print the JSON string representation of the object
print(V1alpha2WorkloadSpec.to_json())
# convert the object into a dict
v1alpha2_workload_spec_dict = v1alpha2_workload_spec_instance.to_dict()
# create an instance of V1alpha2WorkloadSpec from a dict
v1alpha2_workload_spec_from_dict = V1alpha2WorkloadSpec.from_dict(v1alpha2_workload_spec_dict)