com.coralogix.zio.k8s.model.autoscaling.v2
HorizontalPodAutoscalerStatus
Companion object HorizontalPodAutoscalerStatus
case class HorizontalPodAutoscalerStatus(conditions: Optional[Vector[HorizontalPodAutoscalerCondition]] = Optional.Absent, currentMetrics: Optional[Vector[MetricStatus]] = Optional.Absent, currentReplicas: Optional[Int] = Optional.Absent, 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: Optional[Int] = Optional.Absent, 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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val conditions: Optional[Vector[HorizontalPodAutoscalerCondition]]
- val currentMetrics: Optional[Vector[MetricStatus]]
- val currentReplicas: Optional[Int]
- val desiredReplicas: Int
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
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.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lastScaleTime: Optional[Time]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val observedGeneration: Optional[Long]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated