Package io.kubernetes.client.proto
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 TypeMethodDescriptionintcurrent average CPU utilization over all pods, represented as a percentage of requested CPU, e.g.intcurrent number of replicas of pods managed by this autoscaler.intdesired 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.longmost recent generation observed by this autoscaler.booleancurrent average CPU utilization over all pods, represented as a percentage of requested CPU, e.g.booleancurrent number of replicas of pods managed by this autoscaler.booleandesired number of replicas of pods managed by this autoscaler.booleanlast time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.booleanmost recent generation observed by this autoscaler.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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;
-