Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.31 KB

File metadata and controls

31 lines (22 loc) · 1.31 KB

RunnerResourceSizing

A description object for resource requests and limits. Values must follow the Kubernetes resource requirements/limits syntax: See https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#resource-units-in-kubernetes Default configuration is basic sizing

Properties

Name Type Description Notes
requests ResourceSizeInfo
limits ResourceSizeInfo

Example

from cosmotech_api.models.runner_resource_sizing import RunnerResourceSizing

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

# convert the object into a dict
runner_resource_sizing_dict = runner_resource_sizing_instance.to_dict()
# create an instance of RunnerResourceSizing from a dict
runner_resource_sizing_from_dict = RunnerResourceSizing.from_dict(runner_resource_sizing_dict)

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