struct
Kubernetes::HorizontalPodAutoscalerStatus
- Kubernetes::HorizontalPodAutoscalerStatus
- Struct
- Value
- Object
Overview
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_autoscaling_v1.crgenerated/models/io_k8s_api_autoscaling_v2.cr
Constructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .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)
Macro Summary
-
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion
Instance Method Summary
-
#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.
-
#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.
-
#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.
-
#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.
-
#current_metrics : Array(MetricStatus) | Nil
currentMetrics is the last read state of the metrics used by this autoscaler.
-
#current_metrics=(current_metrics : Array(MetricStatus) | Nil)
currentMetrics is the last read state of the metrics used by this autoscaler.
-
#current_replicas : Int32 | Nil
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
-
#current_replicas=(current_replicas : Int32 | Nil)
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
-
#desired_replicas : Int32 | Nil
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
-
#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.
-
#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.
-
#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.
-
#observed_generation : Int64 | Nil
observedGeneration is the most recent generation observed by this autoscaler.
-
#observed_generation=(observed_generation : Int64 | Nil)
observedGeneration is the most recent generation observed by this autoscaler.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
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.
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.
currentMetrics is the last read state of the metrics used by this autoscaler.
currentMetrics is the last read state of the metrics used by this autoscaler.
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
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.
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.
observedGeneration is the most recent generation observed by this autoscaler.
observedGeneration is the most recent generation observed by this autoscaler.