public static final class V1beta1Policy.PodDisruptionBudgetStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder> implements V1beta1Policy.PodDisruptionBudgetStatusOrBuilder
PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.Protobuf type
k8s.io.api.policy.v1beta1.PodDisruptionBudgetStatus| Modifier and Type | Method and Description |
|---|---|
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
addAllConditions(Iterable<? extends Meta.Condition> values)
Conditions contain conditions for PDB.
|
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
addConditions(int index,
Meta.Condition.Builder builderForValue)
Conditions contain conditions for PDB.
|
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
addConditions(int index,
Meta.Condition value)
Conditions contain conditions for PDB.
|
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
addConditions(Meta.Condition.Builder builderForValue)
Conditions contain conditions for PDB.
|
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
addConditions(Meta.Condition value)
Conditions contain conditions for PDB.
|
Meta.Condition.Builder |
addConditionsBuilder()
Conditions contain conditions for PDB.
|
Meta.Condition.Builder |
addConditionsBuilder(int index)
Conditions contain conditions for PDB.
|
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Policy.PodDisruptionBudgetStatus |
build() |
V1beta1Policy.PodDisruptionBudgetStatus |
buildPartial() |
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
clear() |
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
clearConditions()
Conditions contain conditions for PDB.
|
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
clearCurrentHealthy()
current number of healthy pods
|
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
clearDesiredHealthy()
minimum desired number of healthy pods
|
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
clearDisruptedPods() |
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
clearDisruptionsAllowed()
Number of pod disruptions that are currently allowed.
|
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
clearExpectedPods()
total number of pods counted by this disruption budget
|
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
clearObservedGeneration()
Most recent generation observed when updating this PDB status.
|
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
clone() |
boolean |
containsDisruptedPods(String key)
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.
|
Meta.Condition |
getConditions(int index)
Conditions contain conditions for PDB.
|
Meta.Condition.Builder |
getConditionsBuilder(int index)
Conditions contain conditions for PDB.
|
List<Meta.Condition.Builder> |
getConditionsBuilderList()
Conditions contain conditions for PDB.
|
int |
getConditionsCount()
Conditions contain conditions for PDB.
|
List<Meta.Condition> |
getConditionsList()
Conditions contain conditions for PDB.
|
Meta.ConditionOrBuilder |
getConditionsOrBuilder(int index)
Conditions contain conditions for PDB.
|
List<? extends Meta.ConditionOrBuilder> |
getConditionsOrBuilderList()
Conditions contain conditions for PDB.
|
int |
getCurrentHealthy()
current number of healthy pods
|
V1beta1Policy.PodDisruptionBudgetStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getDesiredHealthy()
minimum desired number of healthy pods
|
Map<String,Meta.Time> |
getDisruptedPods()
Deprecated.
|
int |
getDisruptedPodsCount()
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.
|
Map<String,Meta.Time> |
getDisruptedPodsMap()
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.
|
Meta.Time |
getDisruptedPodsOrDefault(String key,
Meta.Time defaultValue)
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.
|
Meta.Time |
getDisruptedPodsOrThrow(String key)
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.
|
int |
getDisruptionsAllowed()
Number of pod disruptions that are currently allowed.
|
int |
getExpectedPods()
total number of pods counted by this disruption budget
|
Map<String,Meta.Time> |
getMutableDisruptedPods()
Deprecated.
|
long |
getObservedGeneration()
Most recent generation observed when updating this PDB status.
|
boolean |
hasCurrentHealthy()
current number of healthy pods
|
boolean |
hasDesiredHealthy()
minimum desired number of healthy pods
|
boolean |
hasDisruptionsAllowed()
Number of pod disruptions that are currently allowed.
|
boolean |
hasExpectedPods()
total number of pods counted by this disruption budget
|
boolean |
hasObservedGeneration()
Most recent generation observed when updating this PDB status.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
mergeFrom(V1beta1Policy.PodDisruptionBudgetStatus other) |
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
putAllDisruptedPods(Map<String,Meta.Time> values)
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.
|
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
putDisruptedPods(String key,
Meta.Time value)
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.
|
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
removeConditions(int index)
Conditions contain conditions for PDB.
|
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
removeDisruptedPods(String key)
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.
|
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
setConditions(int index,
Meta.Condition.Builder builderForValue)
Conditions contain conditions for PDB.
|
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
setConditions(int index,
Meta.Condition value)
Conditions contain conditions for PDB.
|
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
setCurrentHealthy(int value)
current number of healthy pods
|
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
setDesiredHealthy(int value)
minimum desired number of healthy pods
|
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
setDisruptionsAllowed(int value)
Number of pod disruptions that are currently allowed.
|
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
setExpectedPods(int value)
total number of pods counted by this disruption budget
|
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
setObservedGeneration(long value)
Most recent generation observed when updating this PDB status.
|
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1beta1Policy.PodDisruptionBudgetStatus.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>public V1beta1Policy.PodDisruptionBudgetStatus.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>public V1beta1Policy.PodDisruptionBudgetStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta1Policy.PodDisruptionBudgetStatus build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Policy.PodDisruptionBudgetStatus buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Policy.PodDisruptionBudgetStatus.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>public V1beta1Policy.PodDisruptionBudgetStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>public V1beta1Policy.PodDisruptionBudgetStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>public V1beta1Policy.PodDisruptionBudgetStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>public V1beta1Policy.PodDisruptionBudgetStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>public V1beta1Policy.PodDisruptionBudgetStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>public V1beta1Policy.PodDisruptionBudgetStatus.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>public V1beta1Policy.PodDisruptionBudgetStatus.Builder mergeFrom(V1beta1Policy.PodDisruptionBudgetStatus other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>public V1beta1Policy.PodDisruptionBudgetStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>IOExceptionpublic boolean hasObservedGeneration()
Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation. +optional
optional int64 observedGeneration = 1;hasObservedGeneration in interface V1beta1Policy.PodDisruptionBudgetStatusOrBuilderpublic long getObservedGeneration()
Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation. +optional
optional int64 observedGeneration = 1;getObservedGeneration in interface V1beta1Policy.PodDisruptionBudgetStatusOrBuilderpublic V1beta1Policy.PodDisruptionBudgetStatus.Builder setObservedGeneration(long value)
Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation. +optional
optional int64 observedGeneration = 1;public V1beta1Policy.PodDisruptionBudgetStatus.Builder clearObservedGeneration()
Most recent generation observed when updating this PDB status. DisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation. +optional
optional int64 observedGeneration = 1;public int getDisruptedPodsCount()
V1beta1Policy.PodDisruptionBudgetStatusOrBuilderDisruptedPods 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. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions. +optional
map<string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time> disruptedPods = 2;getDisruptedPodsCount in interface V1beta1Policy.PodDisruptionBudgetStatusOrBuilderpublic boolean containsDisruptedPods(String key)
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. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions. +optional
map<string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time> disruptedPods = 2;
containsDisruptedPods in interface V1beta1Policy.PodDisruptionBudgetStatusOrBuilder@Deprecated public Map<String,Meta.Time> getDisruptedPods()
getDisruptedPodsMap() instead.getDisruptedPods in interface V1beta1Policy.PodDisruptionBudgetStatusOrBuilderpublic Map<String,Meta.Time> getDisruptedPodsMap()
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. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions. +optional
map<string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time> disruptedPods = 2;
getDisruptedPodsMap in interface V1beta1Policy.PodDisruptionBudgetStatusOrBuilderpublic Meta.Time getDisruptedPodsOrDefault(String key, Meta.Time defaultValue)
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. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions. +optional
map<string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time> disruptedPods = 2;
getDisruptedPodsOrDefault in interface V1beta1Policy.PodDisruptionBudgetStatusOrBuilderpublic Meta.Time getDisruptedPodsOrThrow(String key)
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. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions. +optional
map<string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time> disruptedPods = 2;
getDisruptedPodsOrThrow in interface V1beta1Policy.PodDisruptionBudgetStatusOrBuilderpublic V1beta1Policy.PodDisruptionBudgetStatus.Builder clearDisruptedPods()
public V1beta1Policy.PodDisruptionBudgetStatus.Builder removeDisruptedPods(String key)
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. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions. +optional
map<string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time> disruptedPods = 2;
@Deprecated public Map<String,Meta.Time> getMutableDisruptedPods()
public V1beta1Policy.PodDisruptionBudgetStatus.Builder putDisruptedPods(String key, Meta.Time value)
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. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions. +optional
map<string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time> disruptedPods = 2;
public V1beta1Policy.PodDisruptionBudgetStatus.Builder putAllDisruptedPods(Map<String,Meta.Time> values)
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. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions. +optional
map<string, .k8s.io.apimachinery.pkg.apis.meta.v1.Time> disruptedPods = 2;
public boolean hasDisruptionsAllowed()
Number of pod disruptions that are currently allowed.
optional int32 disruptionsAllowed = 3;hasDisruptionsAllowed in interface V1beta1Policy.PodDisruptionBudgetStatusOrBuilderpublic int getDisruptionsAllowed()
Number of pod disruptions that are currently allowed.
optional int32 disruptionsAllowed = 3;getDisruptionsAllowed in interface V1beta1Policy.PodDisruptionBudgetStatusOrBuilderpublic V1beta1Policy.PodDisruptionBudgetStatus.Builder setDisruptionsAllowed(int value)
Number of pod disruptions that are currently allowed.
optional int32 disruptionsAllowed = 3;public V1beta1Policy.PodDisruptionBudgetStatus.Builder clearDisruptionsAllowed()
Number of pod disruptions that are currently allowed.
optional int32 disruptionsAllowed = 3;public boolean hasCurrentHealthy()
current number of healthy pods
optional int32 currentHealthy = 4;hasCurrentHealthy in interface V1beta1Policy.PodDisruptionBudgetStatusOrBuilderpublic int getCurrentHealthy()
current number of healthy pods
optional int32 currentHealthy = 4;getCurrentHealthy in interface V1beta1Policy.PodDisruptionBudgetStatusOrBuilderpublic V1beta1Policy.PodDisruptionBudgetStatus.Builder setCurrentHealthy(int value)
current number of healthy pods
optional int32 currentHealthy = 4;public V1beta1Policy.PodDisruptionBudgetStatus.Builder clearCurrentHealthy()
current number of healthy pods
optional int32 currentHealthy = 4;public boolean hasDesiredHealthy()
minimum desired number of healthy pods
optional int32 desiredHealthy = 5;hasDesiredHealthy in interface V1beta1Policy.PodDisruptionBudgetStatusOrBuilderpublic int getDesiredHealthy()
minimum desired number of healthy pods
optional int32 desiredHealthy = 5;getDesiredHealthy in interface V1beta1Policy.PodDisruptionBudgetStatusOrBuilderpublic V1beta1Policy.PodDisruptionBudgetStatus.Builder setDesiredHealthy(int value)
minimum desired number of healthy pods
optional int32 desiredHealthy = 5;public V1beta1Policy.PodDisruptionBudgetStatus.Builder clearDesiredHealthy()
minimum desired number of healthy pods
optional int32 desiredHealthy = 5;public boolean hasExpectedPods()
total number of pods counted by this disruption budget
optional int32 expectedPods = 6;hasExpectedPods in interface V1beta1Policy.PodDisruptionBudgetStatusOrBuilderpublic int getExpectedPods()
total number of pods counted by this disruption budget
optional int32 expectedPods = 6;getExpectedPods in interface V1beta1Policy.PodDisruptionBudgetStatusOrBuilderpublic V1beta1Policy.PodDisruptionBudgetStatus.Builder setExpectedPods(int value)
total number of pods counted by this disruption budget
optional int32 expectedPods = 6;public V1beta1Policy.PodDisruptionBudgetStatus.Builder clearExpectedPods()
total number of pods counted by this disruption budget
optional int32 expectedPods = 6;public List<Meta.Condition> getConditionsList()
Conditions contain conditions for PDB. The disruption controller sets the
DisruptionAllowed condition. The following are known values for the reason field
(additional reasons could be added in the future):
- SyncFailed: The controller encountered an error and wasn't able to compute
the number of allowed disruptions. Therefore no disruptions are
allowed and the status of the condition will be False.
- InsufficientPods: The number of pods are either at or below the number
required by the PodDisruptionBudget. No disruptions are
allowed and the status of the condition will be False.
- SufficientPods: There are more pods than required by the PodDisruptionBudget.
The condition will be True, and the number of allowed
disruptions are provided by the disruptionsAllowed property.
+optional
+patchMergeKey=type
+patchStrategy=merge
+listType=map
+listMapKey=type
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;getConditionsList in interface V1beta1Policy.PodDisruptionBudgetStatusOrBuilderpublic int getConditionsCount()
Conditions contain conditions for PDB. The disruption controller sets the
DisruptionAllowed condition. The following are known values for the reason field
(additional reasons could be added in the future):
- SyncFailed: The controller encountered an error and wasn't able to compute
the number of allowed disruptions. Therefore no disruptions are
allowed and the status of the condition will be False.
- InsufficientPods: The number of pods are either at or below the number
required by the PodDisruptionBudget. No disruptions are
allowed and the status of the condition will be False.
- SufficientPods: There are more pods than required by the PodDisruptionBudget.
The condition will be True, and the number of allowed
disruptions are provided by the disruptionsAllowed property.
+optional
+patchMergeKey=type
+patchStrategy=merge
+listType=map
+listMapKey=type
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;getConditionsCount in interface V1beta1Policy.PodDisruptionBudgetStatusOrBuilderpublic Meta.Condition getConditions(int index)
Conditions contain conditions for PDB. The disruption controller sets the
DisruptionAllowed condition. The following are known values for the reason field
(additional reasons could be added in the future):
- SyncFailed: The controller encountered an error and wasn't able to compute
the number of allowed disruptions. Therefore no disruptions are
allowed and the status of the condition will be False.
- InsufficientPods: The number of pods are either at or below the number
required by the PodDisruptionBudget. No disruptions are
allowed and the status of the condition will be False.
- SufficientPods: There are more pods than required by the PodDisruptionBudget.
The condition will be True, and the number of allowed
disruptions are provided by the disruptionsAllowed property.
+optional
+patchMergeKey=type
+patchStrategy=merge
+listType=map
+listMapKey=type
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;getConditions in interface V1beta1Policy.PodDisruptionBudgetStatusOrBuilderpublic V1beta1Policy.PodDisruptionBudgetStatus.Builder setConditions(int index, Meta.Condition value)
Conditions contain conditions for PDB. The disruption controller sets the
DisruptionAllowed condition. The following are known values for the reason field
(additional reasons could be added in the future):
- SyncFailed: The controller encountered an error and wasn't able to compute
the number of allowed disruptions. Therefore no disruptions are
allowed and the status of the condition will be False.
- InsufficientPods: The number of pods are either at or below the number
required by the PodDisruptionBudget. No disruptions are
allowed and the status of the condition will be False.
- SufficientPods: There are more pods than required by the PodDisruptionBudget.
The condition will be True, and the number of allowed
disruptions are provided by the disruptionsAllowed property.
+optional
+patchMergeKey=type
+patchStrategy=merge
+listType=map
+listMapKey=type
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;public V1beta1Policy.PodDisruptionBudgetStatus.Builder setConditions(int index, Meta.Condition.Builder builderForValue)
Conditions contain conditions for PDB. The disruption controller sets the
DisruptionAllowed condition. The following are known values for the reason field
(additional reasons could be added in the future):
- SyncFailed: The controller encountered an error and wasn't able to compute
the number of allowed disruptions. Therefore no disruptions are
allowed and the status of the condition will be False.
- InsufficientPods: The number of pods are either at or below the number
required by the PodDisruptionBudget. No disruptions are
allowed and the status of the condition will be False.
- SufficientPods: There are more pods than required by the PodDisruptionBudget.
The condition will be True, and the number of allowed
disruptions are provided by the disruptionsAllowed property.
+optional
+patchMergeKey=type
+patchStrategy=merge
+listType=map
+listMapKey=type
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;public V1beta1Policy.PodDisruptionBudgetStatus.Builder addConditions(Meta.Condition value)
Conditions contain conditions for PDB. The disruption controller sets the
DisruptionAllowed condition. The following are known values for the reason field
(additional reasons could be added in the future):
- SyncFailed: The controller encountered an error and wasn't able to compute
the number of allowed disruptions. Therefore no disruptions are
allowed and the status of the condition will be False.
- InsufficientPods: The number of pods are either at or below the number
required by the PodDisruptionBudget. No disruptions are
allowed and the status of the condition will be False.
- SufficientPods: There are more pods than required by the PodDisruptionBudget.
The condition will be True, and the number of allowed
disruptions are provided by the disruptionsAllowed property.
+optional
+patchMergeKey=type
+patchStrategy=merge
+listType=map
+listMapKey=type
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;public V1beta1Policy.PodDisruptionBudgetStatus.Builder addConditions(int index, Meta.Condition value)
Conditions contain conditions for PDB. The disruption controller sets the
DisruptionAllowed condition. The following are known values for the reason field
(additional reasons could be added in the future):
- SyncFailed: The controller encountered an error and wasn't able to compute
the number of allowed disruptions. Therefore no disruptions are
allowed and the status of the condition will be False.
- InsufficientPods: The number of pods are either at or below the number
required by the PodDisruptionBudget. No disruptions are
allowed and the status of the condition will be False.
- SufficientPods: There are more pods than required by the PodDisruptionBudget.
The condition will be True, and the number of allowed
disruptions are provided by the disruptionsAllowed property.
+optional
+patchMergeKey=type
+patchStrategy=merge
+listType=map
+listMapKey=type
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;public V1beta1Policy.PodDisruptionBudgetStatus.Builder addConditions(Meta.Condition.Builder builderForValue)
Conditions contain conditions for PDB. The disruption controller sets the
DisruptionAllowed condition. The following are known values for the reason field
(additional reasons could be added in the future):
- SyncFailed: The controller encountered an error and wasn't able to compute
the number of allowed disruptions. Therefore no disruptions are
allowed and the status of the condition will be False.
- InsufficientPods: The number of pods are either at or below the number
required by the PodDisruptionBudget. No disruptions are
allowed and the status of the condition will be False.
- SufficientPods: There are more pods than required by the PodDisruptionBudget.
The condition will be True, and the number of allowed
disruptions are provided by the disruptionsAllowed property.
+optional
+patchMergeKey=type
+patchStrategy=merge
+listType=map
+listMapKey=type
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;public V1beta1Policy.PodDisruptionBudgetStatus.Builder addConditions(int index, Meta.Condition.Builder builderForValue)
Conditions contain conditions for PDB. The disruption controller sets the
DisruptionAllowed condition. The following are known values for the reason field
(additional reasons could be added in the future):
- SyncFailed: The controller encountered an error and wasn't able to compute
the number of allowed disruptions. Therefore no disruptions are
allowed and the status of the condition will be False.
- InsufficientPods: The number of pods are either at or below the number
required by the PodDisruptionBudget. No disruptions are
allowed and the status of the condition will be False.
- SufficientPods: There are more pods than required by the PodDisruptionBudget.
The condition will be True, and the number of allowed
disruptions are provided by the disruptionsAllowed property.
+optional
+patchMergeKey=type
+patchStrategy=merge
+listType=map
+listMapKey=type
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;public V1beta1Policy.PodDisruptionBudgetStatus.Builder addAllConditions(Iterable<? extends Meta.Condition> values)
Conditions contain conditions for PDB. The disruption controller sets the
DisruptionAllowed condition. The following are known values for the reason field
(additional reasons could be added in the future):
- SyncFailed: The controller encountered an error and wasn't able to compute
the number of allowed disruptions. Therefore no disruptions are
allowed and the status of the condition will be False.
- InsufficientPods: The number of pods are either at or below the number
required by the PodDisruptionBudget. No disruptions are
allowed and the status of the condition will be False.
- SufficientPods: There are more pods than required by the PodDisruptionBudget.
The condition will be True, and the number of allowed
disruptions are provided by the disruptionsAllowed property.
+optional
+patchMergeKey=type
+patchStrategy=merge
+listType=map
+listMapKey=type
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;public V1beta1Policy.PodDisruptionBudgetStatus.Builder clearConditions()
Conditions contain conditions for PDB. The disruption controller sets the
DisruptionAllowed condition. The following are known values for the reason field
(additional reasons could be added in the future):
- SyncFailed: The controller encountered an error and wasn't able to compute
the number of allowed disruptions. Therefore no disruptions are
allowed and the status of the condition will be False.
- InsufficientPods: The number of pods are either at or below the number
required by the PodDisruptionBudget. No disruptions are
allowed and the status of the condition will be False.
- SufficientPods: There are more pods than required by the PodDisruptionBudget.
The condition will be True, and the number of allowed
disruptions are provided by the disruptionsAllowed property.
+optional
+patchMergeKey=type
+patchStrategy=merge
+listType=map
+listMapKey=type
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;public V1beta1Policy.PodDisruptionBudgetStatus.Builder removeConditions(int index)
Conditions contain conditions for PDB. The disruption controller sets the
DisruptionAllowed condition. The following are known values for the reason field
(additional reasons could be added in the future):
- SyncFailed: The controller encountered an error and wasn't able to compute
the number of allowed disruptions. Therefore no disruptions are
allowed and the status of the condition will be False.
- InsufficientPods: The number of pods are either at or below the number
required by the PodDisruptionBudget. No disruptions are
allowed and the status of the condition will be False.
- SufficientPods: There are more pods than required by the PodDisruptionBudget.
The condition will be True, and the number of allowed
disruptions are provided by the disruptionsAllowed property.
+optional
+patchMergeKey=type
+patchStrategy=merge
+listType=map
+listMapKey=type
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;public Meta.Condition.Builder getConditionsBuilder(int index)
Conditions contain conditions for PDB. The disruption controller sets the
DisruptionAllowed condition. The following are known values for the reason field
(additional reasons could be added in the future):
- SyncFailed: The controller encountered an error and wasn't able to compute
the number of allowed disruptions. Therefore no disruptions are
allowed and the status of the condition will be False.
- InsufficientPods: The number of pods are either at or below the number
required by the PodDisruptionBudget. No disruptions are
allowed and the status of the condition will be False.
- SufficientPods: There are more pods than required by the PodDisruptionBudget.
The condition will be True, and the number of allowed
disruptions are provided by the disruptionsAllowed property.
+optional
+patchMergeKey=type
+patchStrategy=merge
+listType=map
+listMapKey=type
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;public Meta.ConditionOrBuilder getConditionsOrBuilder(int index)
Conditions contain conditions for PDB. The disruption controller sets the
DisruptionAllowed condition. The following are known values for the reason field
(additional reasons could be added in the future):
- SyncFailed: The controller encountered an error and wasn't able to compute
the number of allowed disruptions. Therefore no disruptions are
allowed and the status of the condition will be False.
- InsufficientPods: The number of pods are either at or below the number
required by the PodDisruptionBudget. No disruptions are
allowed and the status of the condition will be False.
- SufficientPods: There are more pods than required by the PodDisruptionBudget.
The condition will be True, and the number of allowed
disruptions are provided by the disruptionsAllowed property.
+optional
+patchMergeKey=type
+patchStrategy=merge
+listType=map
+listMapKey=type
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;getConditionsOrBuilder in interface V1beta1Policy.PodDisruptionBudgetStatusOrBuilderpublic List<? extends Meta.ConditionOrBuilder> getConditionsOrBuilderList()
Conditions contain conditions for PDB. The disruption controller sets the
DisruptionAllowed condition. The following are known values for the reason field
(additional reasons could be added in the future):
- SyncFailed: The controller encountered an error and wasn't able to compute
the number of allowed disruptions. Therefore no disruptions are
allowed and the status of the condition will be False.
- InsufficientPods: The number of pods are either at or below the number
required by the PodDisruptionBudget. No disruptions are
allowed and the status of the condition will be False.
- SufficientPods: There are more pods than required by the PodDisruptionBudget.
The condition will be True, and the number of allowed
disruptions are provided by the disruptionsAllowed property.
+optional
+patchMergeKey=type
+patchStrategy=merge
+listType=map
+listMapKey=type
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;getConditionsOrBuilderList in interface V1beta1Policy.PodDisruptionBudgetStatusOrBuilderpublic Meta.Condition.Builder addConditionsBuilder()
Conditions contain conditions for PDB. The disruption controller sets the
DisruptionAllowed condition. The following are known values for the reason field
(additional reasons could be added in the future):
- SyncFailed: The controller encountered an error and wasn't able to compute
the number of allowed disruptions. Therefore no disruptions are
allowed and the status of the condition will be False.
- InsufficientPods: The number of pods are either at or below the number
required by the PodDisruptionBudget. No disruptions are
allowed and the status of the condition will be False.
- SufficientPods: There are more pods than required by the PodDisruptionBudget.
The condition will be True, and the number of allowed
disruptions are provided by the disruptionsAllowed property.
+optional
+patchMergeKey=type
+patchStrategy=merge
+listType=map
+listMapKey=type
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;public Meta.Condition.Builder addConditionsBuilder(int index)
Conditions contain conditions for PDB. The disruption controller sets the
DisruptionAllowed condition. The following are known values for the reason field
(additional reasons could be added in the future):
- SyncFailed: The controller encountered an error and wasn't able to compute
the number of allowed disruptions. Therefore no disruptions are
allowed and the status of the condition will be False.
- InsufficientPods: The number of pods are either at or below the number
required by the PodDisruptionBudget. No disruptions are
allowed and the status of the condition will be False.
- SufficientPods: There are more pods than required by the PodDisruptionBudget.
The condition will be True, and the number of allowed
disruptions are provided by the disruptionsAllowed property.
+optional
+patchMergeKey=type
+patchStrategy=merge
+listType=map
+listMapKey=type
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;public List<Meta.Condition.Builder> getConditionsBuilderList()
Conditions contain conditions for PDB. The disruption controller sets the
DisruptionAllowed condition. The following are known values for the reason field
(additional reasons could be added in the future):
- SyncFailed: The controller encountered an error and wasn't able to compute
the number of allowed disruptions. Therefore no disruptions are
allowed and the status of the condition will be False.
- InsufficientPods: The number of pods are either at or below the number
required by the PodDisruptionBudget. No disruptions are
allowed and the status of the condition will be False.
- SufficientPods: There are more pods than required by the PodDisruptionBudget.
The condition will be True, and the number of allowed
disruptions are provided by the disruptionsAllowed property.
+optional
+patchMergeKey=type
+patchStrategy=merge
+listType=map
+listMapKey=type
repeated .k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 7;public final V1beta1Policy.PodDisruptionBudgetStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>public final V1beta1Policy.PodDisruptionBudgetStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Policy.PodDisruptionBudgetStatus.Builder>Copyright © 2023. All rights reserved.