Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.43 KB

File metadata and controls

29 lines (22 loc) · 1.43 KB

V2ResourceMetricStatus

ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.

Properties

Name Type Description Notes
current V2MetricValueStatus
name str name is the name of the resource in question.

Example

from kubernetes.client.models.v2_resource_metric_status import V2ResourceMetricStatus

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

# convert the object into a dict
v2_resource_metric_status_dict = v2_resource_metric_status_instance.to_dict()
# create an instance of V2ResourceMetricStatus from a dict
v2_resource_metric_status_from_dict = V2ResourceMetricStatus.from_dict(v2_resource_metric_status_dict)

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