com.coralogix.zio.k8s.model.autoscaling.v2beta1
HorizontalPodAutoscalerStatus
Companion object HorizontalPodAutoscalerStatus
case class HorizontalPodAutoscalerStatus(conditions: Optional[Vector[HorizontalPodAutoscalerCondition]] = Optional.Absent, currentMetrics: Optional[Vector[MetricStatus]] = Optional.Absent, currentReplicas: Int, desiredReplicas: Int, lastScaleTime: Optional[Time] = Optional.Absent, observedGeneration: Optional[Long] = Optional.Absent) extends Product with Serializable
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
- conditions
conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
- currentMetrics
currentMetrics is the last read state of the metrics used by this autoscaler.
- currentReplicas
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
- desiredReplicas
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
- observedGeneration
observedGeneration is the most recent generation observed by this autoscaler.
- Alphabetic
- By Inheritance
- HorizontalPodAutoscalerStatus
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
HorizontalPodAutoscalerStatus(conditions: Optional[Vector[HorizontalPodAutoscalerCondition]] = Optional.Absent, currentMetrics: Optional[Vector[MetricStatus]] = Optional.Absent, currentReplicas: Int, desiredReplicas: Int, lastScaleTime: Optional[Time] = Optional.Absent, observedGeneration: Optional[Long] = Optional.Absent)
- conditions
conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
- currentMetrics
currentMetrics is the last read state of the metrics used by this autoscaler.
- currentReplicas
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
- desiredReplicas
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
- observedGeneration
observedGeneration is the most recent generation observed by this autoscaler.
Value Members
- val conditions: Optional[Vector[HorizontalPodAutoscalerCondition]]
- val currentMetrics: Optional[Vector[MetricStatus]]
- val currentReplicas: Int
- val desiredReplicas: Int
-
def
getConditions: IO[K8sFailure, Vector[HorizontalPodAutoscalerCondition]]
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.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getCurrentMetrics: IO[K8sFailure, Vector[MetricStatus]]
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.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getCurrentReplicas: IO[K8sFailure, Int]
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.
This effect always succeeds, it is safe to use the field currentReplicas directly.
-
def
getDesiredReplicas: IO[K8sFailure, Int]
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.
This effect always succeeds, it is safe to use the field desiredReplicas directly.
-
def
getLastScaleTime: IO[K8sFailure, Time]
Gets lastScaleTime.
Gets lastScaleTime.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getObservedGeneration: IO[K8sFailure, Long]
observedGeneration is the most recent generation observed by this autoscaler.
observedGeneration is the most recent generation observed by this autoscaler.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val lastScaleTime: Optional[Time]
- val observedGeneration: Optional[Long]