class K8S::Api::Autoscaling::V2beta1::HorizontalPodAutoscalerStatus
Overview
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.16/api/autoscaling/v2beta1/horizontal_pod_autoscaler_status.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, conditions : Array(Api::Autoscaling::V2beta1::HorizontalPodAutoscalerCondition), current_replicas : Int32, desired_replicas : Int32, current_metrics : Array(Api::Autoscaling::V2beta1::MetricStatus)? = nil, last_scale_time : Time? = nil, observed_generation : Int32? = nil)
Instance Method Summary
- #conditions : Array(Api::Autoscaling::V2beta1::HorizontalPodAutoscalerCondition)
- #conditions=(conditions : Array(Api::Autoscaling::V2beta1::HorizontalPodAutoscalerCondition))
- #current_metrics : Array(Api::Autoscaling::V2beta1::MetricStatus)?
- #current_metrics=(current_metrics : Array(Api::Autoscaling::V2beta1::MetricStatus)?)
- #current_replicas : Int32
- #current_replicas=(current_replicas : Int32)
- #desired_replicas : Int32
- #desired_replicas=(desired_replicas : Int32)
- #last_scale_time : Time?
- #last_scale_time=(last_scale_time : Time?)
- #observed_generation : Int32?
- #observed_generation=(observed_generation : Int32?)
Constructor Detail
def self.new(*, conditions : Array(Api::Autoscaling::V2beta1::HorizontalPodAutoscalerCondition), current_replicas : Int32, desired_replicas : Int32, current_metrics : Array(Api::Autoscaling::V2beta1::MetricStatus)? = nil, last_scale_time : Time? = nil, observed_generation : Int32? = nil)
#
Instance Method Detail
def conditions=(conditions : Array(Api::Autoscaling::V2beta1::HorizontalPodAutoscalerCondition))
#
def current_metrics=(current_metrics : Array(Api::Autoscaling::V2beta1::MetricStatus)?)
#