public class V1HorizontalPodAutoscalerStatus extends Object
Constructor and Description |
---|
V1HorizontalPodAutoscalerStatus() |
Modifier and Type | Method and Description |
---|---|
V1HorizontalPodAutoscalerStatus |
currentCPUUtilizationPercentage(Integer currentCPUUtilizationPercentage) |
V1HorizontalPodAutoscalerStatus |
currentReplicas(Integer currentReplicas) |
V1HorizontalPodAutoscalerStatus |
desiredReplicas(Integer desiredReplicas) |
boolean |
equals(Object o) |
Integer |
getCurrentCPUUtilizationPercentage()
current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g.
|
Integer |
getCurrentReplicas()
current number of replicas of pods managed by this autoscaler.
|
Integer |
getDesiredReplicas()
desired number of replicas of pods managed by this autoscaler.
|
org.joda.time.DateTime |
getLastScaleTime()
last time the HorizontalPodAutoscaler scaled the number of pods; used by the autoscaler to control how often the number of pods is changed.
|
Long |
getObservedGeneration()
most recent generation observed by this autoscaler.
|
int |
hashCode() |
V1HorizontalPodAutoscalerStatus |
lastScaleTime(org.joda.time.DateTime lastScaleTime) |
V1HorizontalPodAutoscalerStatus |
observedGeneration(Long observedGeneration) |
void |
setCurrentCPUUtilizationPercentage(Integer currentCPUUtilizationPercentage) |
void |
setCurrentReplicas(Integer currentReplicas) |
void |
setDesiredReplicas(Integer desiredReplicas) |
void |
setLastScaleTime(org.joda.time.DateTime lastScaleTime) |
void |
setObservedGeneration(Long observedGeneration) |
String |
toString() |
public V1HorizontalPodAutoscalerStatus currentCPUUtilizationPercentage(Integer currentCPUUtilizationPercentage)
public Integer getCurrentCPUUtilizationPercentage()
public void setCurrentCPUUtilizationPercentage(Integer currentCPUUtilizationPercentage)
public V1HorizontalPodAutoscalerStatus currentReplicas(Integer currentReplicas)
public Integer getCurrentReplicas()
public void setCurrentReplicas(Integer currentReplicas)
public V1HorizontalPodAutoscalerStatus desiredReplicas(Integer desiredReplicas)
public Integer getDesiredReplicas()
public void setDesiredReplicas(Integer desiredReplicas)
public V1HorizontalPodAutoscalerStatus lastScaleTime(org.joda.time.DateTime lastScaleTime)
public org.joda.time.DateTime getLastScaleTime()
public void setLastScaleTime(org.joda.time.DateTime lastScaleTime)
public V1HorizontalPodAutoscalerStatus observedGeneration(Long observedGeneration)
public Long getObservedGeneration()
public void setObservedGeneration(Long observedGeneration)
Copyright © 2018. All rights reserved.