Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.32 KB

File metadata and controls

30 lines (23 loc) · 1.32 KB

V1ResourceFieldSelector

ResourceFieldSelector represents container resources (cpu, memory) and their output format

Properties

Name Type Description Notes
container_name str Container name: required for volumes, optional for env vars [optional]
divisor str Specifies the output format of the exposed resources, defaults to "1" [optional]
resource str Required: resource to select

Example

from kubernetes.client.models.v1_resource_field_selector import V1ResourceFieldSelector

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

# convert the object into a dict
v1_resource_field_selector_dict = v1_resource_field_selector_instance.to_dict()
# create an instance of V1ResourceFieldSelector from a dict
v1_resource_field_selector_from_dict = V1ResourceFieldSelector.from_dict(v1_resource_field_selector_dict)

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