class K8S::Api::Autoscaling::V2::HorizontalPodAutoscalerStatus
- K8S::Api::Autoscaling::V2::HorizontalPodAutoscalerStatus
- Reference
- Object
Overview
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.23/api/autoscaling/v2/horizontal_pod_autoscaler_status.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, desired_replicas : Int32, conditions : Array? = nil, current_metrics : Array? = nil, current_replicas : Int32? = nil, last_scale_time : Time? = nil, observed_generation : Int32? = nil)
Instance Method Summary
- #conditions : Array(Api::Autoscaling::V2::HorizontalPodAutoscalerCondition)?
- #conditions=(conditions : Array(Api::Autoscaling::V2::HorizontalPodAutoscalerCondition)?)
- #current_metrics : Array(Api::Autoscaling::V2::MetricStatus)?
- #current_metrics=(current_metrics : Array(Api::Autoscaling::V2::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(*, desired_replicas : Int32, conditions : Array? = nil, current_metrics : Array? = nil, current_replicas : Int32? = nil, last_scale_time : Time? = nil, observed_generation : Int32? = nil)
#
Instance Method Detail
def conditions=(conditions : Array(Api::Autoscaling::V2::HorizontalPodAutoscalerCondition)?)
#