Class HorizontalPodAutoscalerStatusPatch


  • public final class HorizontalPodAutoscalerStatusPatch
    extends java.lang.Object
    • Method Detail

      • conditions

        public java.util.List<HorizontalPodAutoscalerConditionPatch> conditions()
        Returns:
        conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
      • currentMetrics

        public java.util.List<MetricStatusPatch> currentMetrics()
        Returns:
        currentMetrics is the last read state of the metrics used by this autoscaler.
      • currentReplicas

        public java.util.Optional<java.lang.Integer> currentReplicas()
        Returns:
        currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
      • desiredReplicas

        public java.util.Optional<java.lang.Integer> desiredReplicas()
        Returns:
        desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
      • lastScaleTime

        public java.util.Optional<java.lang.String> lastScaleTime()
        Returns:
        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

        public java.util.Optional<java.lang.Integer> observedGeneration()
        Returns:
        observedGeneration is the most recent generation observed by this autoscaler.