Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.24 KB

File metadata and controls

29 lines (22 loc) · 1.24 KB

V2PodsMetricSource

PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.

Properties

Name Type Description Notes
metric V2MetricIdentifier
target V2MetricTarget

Example

from kubernetes.client.models.v2_pods_metric_source import V2PodsMetricSource

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

# convert the object into a dict
v2_pods_metric_source_dict = v2_pods_metric_source_instance.to_dict()
# create an instance of V2PodsMetricSource from a dict
v2_pods_metric_source_from_dict = V2PodsMetricSource.from_dict(v2_pods_metric_source_dict)

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