public static final class V1beta2Apps.RollingUpdateDeployment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta2Apps.RollingUpdateDeployment.Builder> implements V1beta2Apps.RollingUpdateDeploymentOrBuilder
Spec to control the desired behavior of rolling update.Protobuf type
k8s.io.api.apps.v1beta2.RollingUpdateDeployment| Modifier and Type | Method and Description |
|---|---|
V1beta2Apps.RollingUpdateDeployment.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta2Apps.RollingUpdateDeployment |
build() |
V1beta2Apps.RollingUpdateDeployment |
buildPartial() |
V1beta2Apps.RollingUpdateDeployment.Builder |
clear() |
V1beta2Apps.RollingUpdateDeployment.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1beta2Apps.RollingUpdateDeployment.Builder |
clearMaxSurge()
The maximum number of pods that can be scheduled above the desired number of
pods.
|
V1beta2Apps.RollingUpdateDeployment.Builder |
clearMaxUnavailable()
The maximum number of pods that can be unavailable during the update.
|
V1beta2Apps.RollingUpdateDeployment.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1beta2Apps.RollingUpdateDeployment.Builder |
clone() |
V1beta2Apps.RollingUpdateDeployment |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
IntStr.IntOrString |
getMaxSurge()
The maximum number of pods that can be scheduled above the desired number of
pods.
|
IntStr.IntOrString.Builder |
getMaxSurgeBuilder()
The maximum number of pods that can be scheduled above the desired number of
pods.
|
IntStr.IntOrStringOrBuilder |
getMaxSurgeOrBuilder()
The maximum number of pods that can be scheduled above the desired number of
pods.
|
IntStr.IntOrString |
getMaxUnavailable()
The maximum number of pods that can be unavailable during the update.
|
IntStr.IntOrString.Builder |
getMaxUnavailableBuilder()
The maximum number of pods that can be unavailable during the update.
|
IntStr.IntOrStringOrBuilder |
getMaxUnavailableOrBuilder()
The maximum number of pods that can be unavailable during the update.
|
boolean |
hasMaxSurge()
The maximum number of pods that can be scheduled above the desired number of
pods.
|
boolean |
hasMaxUnavailable()
The maximum number of pods that can be unavailable during the update.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1beta2Apps.RollingUpdateDeployment.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1beta2Apps.RollingUpdateDeployment.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1beta2Apps.RollingUpdateDeployment.Builder |
mergeFrom(V1beta2Apps.RollingUpdateDeployment other) |
V1beta2Apps.RollingUpdateDeployment.Builder |
mergeMaxSurge(IntStr.IntOrString value)
The maximum number of pods that can be scheduled above the desired number of
pods.
|
V1beta2Apps.RollingUpdateDeployment.Builder |
mergeMaxUnavailable(IntStr.IntOrString value)
The maximum number of pods that can be unavailable during the update.
|
V1beta2Apps.RollingUpdateDeployment.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta2Apps.RollingUpdateDeployment.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta2Apps.RollingUpdateDeployment.Builder |
setMaxSurge(IntStr.IntOrString.Builder builderForValue)
The maximum number of pods that can be scheduled above the desired number of
pods.
|
V1beta2Apps.RollingUpdateDeployment.Builder |
setMaxSurge(IntStr.IntOrString value)
The maximum number of pods that can be scheduled above the desired number of
pods.
|
V1beta2Apps.RollingUpdateDeployment.Builder |
setMaxUnavailable(IntStr.IntOrString.Builder builderForValue)
The maximum number of pods that can be unavailable during the update.
|
V1beta2Apps.RollingUpdateDeployment.Builder |
setMaxUnavailable(IntStr.IntOrString value)
The maximum number of pods that can be unavailable during the update.
|
V1beta2Apps.RollingUpdateDeployment.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1beta2Apps.RollingUpdateDeployment.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta2Apps.RollingUpdateDeployment.Builder>public V1beta2Apps.RollingUpdateDeployment.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta2Apps.RollingUpdateDeployment.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<V1beta2Apps.RollingUpdateDeployment.Builder>public V1beta2Apps.RollingUpdateDeployment getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta2Apps.RollingUpdateDeployment build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta2Apps.RollingUpdateDeployment buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta2Apps.RollingUpdateDeployment.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta2Apps.RollingUpdateDeployment.Builder>public V1beta2Apps.RollingUpdateDeployment.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<V1beta2Apps.RollingUpdateDeployment.Builder>public V1beta2Apps.RollingUpdateDeployment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta2Apps.RollingUpdateDeployment.Builder>public V1beta2Apps.RollingUpdateDeployment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta2Apps.RollingUpdateDeployment.Builder>public V1beta2Apps.RollingUpdateDeployment.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<V1beta2Apps.RollingUpdateDeployment.Builder>public V1beta2Apps.RollingUpdateDeployment.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<V1beta2Apps.RollingUpdateDeployment.Builder>public V1beta2Apps.RollingUpdateDeployment.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta2Apps.RollingUpdateDeployment.Builder>public V1beta2Apps.RollingUpdateDeployment.Builder mergeFrom(V1beta2Apps.RollingUpdateDeployment other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta2Apps.RollingUpdateDeployment.Builder>public V1beta2Apps.RollingUpdateDeployment.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<V1beta2Apps.RollingUpdateDeployment.Builder>IOExceptionpublic boolean hasMaxUnavailable()
The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 1;hasMaxUnavailable in interface V1beta2Apps.RollingUpdateDeploymentOrBuilderpublic IntStr.IntOrString getMaxUnavailable()
The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 1;getMaxUnavailable in interface V1beta2Apps.RollingUpdateDeploymentOrBuilderpublic V1beta2Apps.RollingUpdateDeployment.Builder setMaxUnavailable(IntStr.IntOrString value)
The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 1;public V1beta2Apps.RollingUpdateDeployment.Builder setMaxUnavailable(IntStr.IntOrString.Builder builderForValue)
The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 1;public V1beta2Apps.RollingUpdateDeployment.Builder mergeMaxUnavailable(IntStr.IntOrString value)
The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 1;public V1beta2Apps.RollingUpdateDeployment.Builder clearMaxUnavailable()
The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 1;public IntStr.IntOrString.Builder getMaxUnavailableBuilder()
The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 1;public IntStr.IntOrStringOrBuilder getMaxUnavailableOrBuilder()
The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 1;getMaxUnavailableOrBuilder in interface V1beta2Apps.RollingUpdateDeploymentOrBuilderpublic boolean hasMaxSurge()
The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxSurge = 2;hasMaxSurge in interface V1beta2Apps.RollingUpdateDeploymentOrBuilderpublic IntStr.IntOrString getMaxSurge()
The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxSurge = 2;getMaxSurge in interface V1beta2Apps.RollingUpdateDeploymentOrBuilderpublic V1beta2Apps.RollingUpdateDeployment.Builder setMaxSurge(IntStr.IntOrString value)
The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxSurge = 2;public V1beta2Apps.RollingUpdateDeployment.Builder setMaxSurge(IntStr.IntOrString.Builder builderForValue)
The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxSurge = 2;public V1beta2Apps.RollingUpdateDeployment.Builder mergeMaxSurge(IntStr.IntOrString value)
The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxSurge = 2;public V1beta2Apps.RollingUpdateDeployment.Builder clearMaxSurge()
The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxSurge = 2;public IntStr.IntOrString.Builder getMaxSurgeBuilder()
The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxSurge = 2;public IntStr.IntOrStringOrBuilder getMaxSurgeOrBuilder()
The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxSurge = 2;getMaxSurgeOrBuilder in interface V1beta2Apps.RollingUpdateDeploymentOrBuilderpublic final V1beta2Apps.RollingUpdateDeployment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta2Apps.RollingUpdateDeployment.Builder>public final V1beta2Apps.RollingUpdateDeployment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta2Apps.RollingUpdateDeployment.Builder>Copyright © 2023. All rights reserved.