Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.4 KB

File metadata and controls

29 lines (22 loc) · 1.4 KB

V2HorizontalPodAutoscalerBehavior

HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).

Properties

Name Type Description Notes
scale_down V2HPAScalingRules [optional]
scale_up V2HPAScalingRules [optional]

Example

from kubernetes.client.models.v2_horizontal_pod_autoscaler_behavior import V2HorizontalPodAutoscalerBehavior

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

# convert the object into a dict
v2_horizontal_pod_autoscaler_behavior_dict = v2_horizontal_pod_autoscaler_behavior_instance.to_dict()
# create an instance of V2HorizontalPodAutoscalerBehavior from a dict
v2_horizontal_pod_autoscaler_behavior_from_dict = V2HorizontalPodAutoscalerBehavior.from_dict(v2_horizontal_pod_autoscaler_behavior_dict)

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