Interface V1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V1Autoscaling.HorizontalPodAutoscalerStatus, V1Autoscaling.HorizontalPodAutoscalerStatus.Builder
Enclosing class:
V1Autoscaling

public static interface V1Autoscaling.HorizontalPodAutoscalerStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g.
    int
    current number of replicas of pods managed by this autoscaler.
    int
    desired number of replicas of pods managed by this autoscaler.
    last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.
    last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.
    long
    most recent generation observed by this autoscaler.
    boolean
    current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g.
    boolean
    current number of replicas of pods managed by this autoscaler.
    boolean
    desired number of replicas of pods managed by this autoscaler.
    boolean
    last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.
    boolean
    most recent generation observed by this autoscaler.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasObservedGeneration

      boolean hasObservedGeneration()
       most recent generation observed by this autoscaler.
       +optional
       
      optional int64 observedGeneration = 1;
    • getObservedGeneration

      long getObservedGeneration()
       most recent generation observed by this autoscaler.
       +optional
       
      optional int64 observedGeneration = 1;
    • hasLastScaleTime

      boolean hasLastScaleTime()
       last time the HorizontalPodAutoscaler scaled the number of pods;
       used by the autoscaler to control how often the number of pods is changed.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastScaleTime = 2;
    • getLastScaleTime

      Meta.Time getLastScaleTime()
       last time the HorizontalPodAutoscaler scaled the number of pods;
       used by the autoscaler to control how often the number of pods is changed.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastScaleTime = 2;
    • getLastScaleTimeOrBuilder

      Meta.TimeOrBuilder getLastScaleTimeOrBuilder()
       last time the HorizontalPodAutoscaler scaled the number of pods;
       used by the autoscaler to control how often the number of pods is changed.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastScaleTime = 2;
    • hasCurrentReplicas

      boolean hasCurrentReplicas()
       current number of replicas of pods managed by this autoscaler.
       
      optional int32 currentReplicas = 3;
    • getCurrentReplicas

      int getCurrentReplicas()
       current number of replicas of pods managed by this autoscaler.
       
      optional int32 currentReplicas = 3;
    • hasDesiredReplicas

      boolean hasDesiredReplicas()
       desired number of replicas of pods managed by this autoscaler.
       
      optional int32 desiredReplicas = 4;
    • getDesiredReplicas

      int getDesiredReplicas()
       desired number of replicas of pods managed by this autoscaler.
       
      optional int32 desiredReplicas = 4;
    • hasCurrentCPUUtilizationPercentage

      boolean hasCurrentCPUUtilizationPercentage()
       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.
       +optional
       
      optional int32 currentCPUUtilizationPercentage = 5;
    • getCurrentCPUUtilizationPercentage

      int getCurrentCPUUtilizationPercentage()
       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.
       +optional
       
      optional int32 currentCPUUtilizationPercentage = 5;