public class V1beta1PodDisruptionBudgetStatus extends Object
Constructor and Description |
---|
V1beta1PodDisruptionBudgetStatus() |
Modifier and Type | Method and Description |
---|---|
V1beta1PodDisruptionBudgetStatus |
currentHealthy(Integer currentHealthy) |
V1beta1PodDisruptionBudgetStatus |
desiredHealthy(Integer desiredHealthy) |
V1beta1PodDisruptionBudgetStatus |
disruptedPods(Map<String,org.joda.time.DateTime> disruptedPods) |
V1beta1PodDisruptionBudgetStatus |
disruptionsAllowed(Integer disruptionsAllowed) |
boolean |
equals(Object o) |
V1beta1PodDisruptionBudgetStatus |
expectedPods(Integer expectedPods) |
Integer |
getCurrentHealthy()
current number of healthy pods
|
Integer |
getDesiredHealthy()
minimum desired number of healthy pods
|
Map<String,org.joda.time.DateTime> |
getDisruptedPods()
DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller.
|
Integer |
getDisruptionsAllowed()
Number of pod disruptions that are currently allowed.
|
Integer |
getExpectedPods()
total number of pods counted by this disruption budget
|
Long |
getObservedGeneration()
Most recent generation observed when updating this PDB status.
|
int |
hashCode() |
V1beta1PodDisruptionBudgetStatus |
observedGeneration(Long observedGeneration) |
V1beta1PodDisruptionBudgetStatus |
putDisruptedPodsItem(String key,
org.joda.time.DateTime disruptedPodsItem) |
void |
setCurrentHealthy(Integer currentHealthy) |
void |
setDesiredHealthy(Integer desiredHealthy) |
void |
setDisruptedPods(Map<String,org.joda.time.DateTime> disruptedPods) |
void |
setDisruptionsAllowed(Integer disruptionsAllowed) |
void |
setExpectedPods(Integer expectedPods) |
void |
setObservedGeneration(Long observedGeneration) |
String |
toString() |
public V1beta1PodDisruptionBudgetStatus currentHealthy(Integer currentHealthy)
public Integer getCurrentHealthy()
public void setCurrentHealthy(Integer currentHealthy)
public V1beta1PodDisruptionBudgetStatus desiredHealthy(Integer desiredHealthy)
public Integer getDesiredHealthy()
public void setDesiredHealthy(Integer desiredHealthy)
public V1beta1PodDisruptionBudgetStatus disruptedPods(Map<String,org.joda.time.DateTime> disruptedPods)
public V1beta1PodDisruptionBudgetStatus putDisruptedPodsItem(String key, org.joda.time.DateTime disruptedPodsItem)
public Map<String,org.joda.time.DateTime> getDisruptedPods()
public V1beta1PodDisruptionBudgetStatus disruptionsAllowed(Integer disruptionsAllowed)
public Integer getDisruptionsAllowed()
public void setDisruptionsAllowed(Integer disruptionsAllowed)
public V1beta1PodDisruptionBudgetStatus expectedPods(Integer expectedPods)
public Integer getExpectedPods()
public void setExpectedPods(Integer expectedPods)
public V1beta1PodDisruptionBudgetStatus observedGeneration(Long observedGeneration)
public Long getObservedGeneration()
public void setObservedGeneration(Long observedGeneration)
Copyright © 2018. All rights reserved.