struct

Kubernetes::HorizontalPodAutoscalerStatus

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.

Constructors

new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Instance methods

conditions

conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.

Source
conditions=(conditions : Array(HorizontalPodAutoscalerCondition) | Nil)

conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.

Source
current_cpu_utilization_percentage

currentCPUUtilizationPercentage is the current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.

Source
current_cpu_utilization_percentage=(current_cpu_utilization_percentage : Int32 | Nil)

currentCPUUtilizationPercentage is the current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.

Source
current_metrics

currentMetrics is the last read state of the metrics used by this autoscaler.

Source
current_metrics=(current_metrics : Array(MetricStatus) | Nil)

currentMetrics is the last read state of the metrics used by this autoscaler.

Source
current_replicas

currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.

Source
current_replicas=(current_replicas : Int32 | Nil)

currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.

Source
desired_replicas

desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.

Source
desired_replicas=(desired_replicas : Int32 | Nil)

desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.

Source
last_scale_time

lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.

Source
last_scale_time=(last_scale_time : Time | Nil)

lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.

Source
observed_generation

observedGeneration is the most recent generation observed by this autoscaler.

Source
observed_generation=(observed_generation : Int64 | Nil)

observedGeneration is the most recent generation observed by this autoscaler.

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source