HorizontalPodAutoscalerStatus class

current status of a horizontal pod autoscaler.

Constructors

HorizontalPodAutoscalerStatus({int? currentCPUUtilizationPercentage, required int currentReplicas, required int desiredReplicas, DateTime? lastScaleTime, int? observedGeneration})
Default constructor.
const
HorizontalPodAutoscalerStatus.fromJson(Map<String, dynamic> json)
Creates a HorizontalPodAutoscalerStatus from JSON data.
factory

Properties

currentCPUUtilizationPercentage int?
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.
final
currentReplicas int
currentReplicas is the current number of replicas of pods managed by this autoscaler.
final
desiredReplicas int
desiredReplicas is the desired number of replicas of pods managed by this autoscaler.
final
hashCode int
The hash code for this object.
no setterinherited
lastScaleTime DateTime?
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.
final
observedGeneration int?
observedGeneration is the most recent generation observed by this autoscaler.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a HorizontalPodAutoscalerStatus instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited