public static final class V1beta1Extensions.RollingUpdateDeployment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.RollingUpdateDeployment.Builder> implements V1beta1Extensions.RollingUpdateDeploymentOrBuilder
Spec to control the desired behavior of rolling update.Protobuf type
k8s.io.api.extensions.v1beta1.RollingUpdateDeployment| Modifier and Type | Method and Description |
|---|---|
V1beta1Extensions.RollingUpdateDeployment.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Extensions.RollingUpdateDeployment |
build() |
V1beta1Extensions.RollingUpdateDeployment |
buildPartial() |
V1beta1Extensions.RollingUpdateDeployment.Builder |
clear() |
V1beta1Extensions.RollingUpdateDeployment.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1beta1Extensions.RollingUpdateDeployment.Builder |
clearMaxSurge()
The maximum number of pods that can be scheduled above the desired number of
pods.
|
V1beta1Extensions.RollingUpdateDeployment.Builder |
clearMaxUnavailable()
The maximum number of pods that can be unavailable during the update.
|
V1beta1Extensions.RollingUpdateDeployment.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1beta1Extensions.RollingUpdateDeployment.Builder |
clone() |
V1beta1Extensions.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() |
V1beta1Extensions.RollingUpdateDeployment.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1beta1Extensions.RollingUpdateDeployment.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1beta1Extensions.RollingUpdateDeployment.Builder |
mergeFrom(V1beta1Extensions.RollingUpdateDeployment other) |
V1beta1Extensions.RollingUpdateDeployment.Builder |
mergeMaxSurge(IntStr.IntOrString value)
The maximum number of pods that can be scheduled above the desired number of
pods.
|
V1beta1Extensions.RollingUpdateDeployment.Builder |
mergeMaxUnavailable(IntStr.IntOrString value)
The maximum number of pods that can be unavailable during the update.
|
V1beta1Extensions.RollingUpdateDeployment.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Extensions.RollingUpdateDeployment.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Extensions.RollingUpdateDeployment.Builder |
setMaxSurge(IntStr.IntOrString.Builder builderForValue)
The maximum number of pods that can be scheduled above the desired number of
pods.
|
V1beta1Extensions.RollingUpdateDeployment.Builder |
setMaxSurge(IntStr.IntOrString value)
The maximum number of pods that can be scheduled above the desired number of
pods.
|
V1beta1Extensions.RollingUpdateDeployment.Builder |
setMaxUnavailable(IntStr.IntOrString.Builder builderForValue)
The maximum number of pods that can be unavailable during the update.
|
V1beta1Extensions.RollingUpdateDeployment.Builder |
setMaxUnavailable(IntStr.IntOrString value)
The maximum number of pods that can be unavailable during the update.
|
V1beta1Extensions.RollingUpdateDeployment.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1beta1Extensions.RollingUpdateDeployment.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.RollingUpdateDeployment.Builder>public V1beta1Extensions.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<V1beta1Extensions.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<V1beta1Extensions.RollingUpdateDeployment.Builder>public V1beta1Extensions.RollingUpdateDeployment getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta1Extensions.RollingUpdateDeployment build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Extensions.RollingUpdateDeployment buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Extensions.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<V1beta1Extensions.RollingUpdateDeployment.Builder>public V1beta1Extensions.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<V1beta1Extensions.RollingUpdateDeployment.Builder>public V1beta1Extensions.RollingUpdateDeployment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.RollingUpdateDeployment.Builder>public V1beta1Extensions.RollingUpdateDeployment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.RollingUpdateDeployment.Builder>public V1beta1Extensions.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<V1beta1Extensions.RollingUpdateDeployment.Builder>public V1beta1Extensions.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<V1beta1Extensions.RollingUpdateDeployment.Builder>public V1beta1Extensions.RollingUpdateDeployment.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Extensions.RollingUpdateDeployment.Builder>public V1beta1Extensions.RollingUpdateDeployment.Builder mergeFrom(V1beta1Extensions.RollingUpdateDeployment other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.RollingUpdateDeployment.Builder>public V1beta1Extensions.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<V1beta1Extensions.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. By default, a fixed value of 1 is used. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, 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 V1beta1Extensions.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. By default, a fixed value of 1 is used. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, 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 V1beta1Extensions.RollingUpdateDeploymentOrBuilderpublic V1beta1Extensions.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. By default, a fixed value of 1 is used. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, 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 V1beta1Extensions.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. By default, a fixed value of 1 is used. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, 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 V1beta1Extensions.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. By default, a fixed value of 1 is used. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, 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 V1beta1Extensions.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. By default, a fixed value of 1 is used. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, 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. By default, a fixed value of 1 is used. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, 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. By default, a fixed value of 1 is used. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, 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 V1beta1Extensions.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. By default, a value of 1 is used. Example: when this is set to 30%, the new RC 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 RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxSurge = 2;hasMaxSurge in interface V1beta1Extensions.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. By default, a value of 1 is used. Example: when this is set to 30%, the new RC 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 RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxSurge = 2;getMaxSurge in interface V1beta1Extensions.RollingUpdateDeploymentOrBuilderpublic V1beta1Extensions.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. By default, a value of 1 is used. Example: when this is set to 30%, the new RC 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 RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxSurge = 2;public V1beta1Extensions.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. By default, a value of 1 is used. Example: when this is set to 30%, the new RC 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 RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxSurge = 2;public V1beta1Extensions.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. By default, a value of 1 is used. Example: when this is set to 30%, the new RC 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 RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxSurge = 2;public V1beta1Extensions.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. By default, a value of 1 is used. Example: when this is set to 30%, the new RC 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 RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 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. By default, a value of 1 is used. Example: when this is set to 30%, the new RC 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 RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 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. By default, a value of 1 is used. Example: when this is set to 30%, the new RC 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 RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxSurge = 2;getMaxSurgeOrBuilder in interface V1beta1Extensions.RollingUpdateDeploymentOrBuilderpublic final V1beta1Extensions.RollingUpdateDeployment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.RollingUpdateDeployment.Builder>public final V1beta1Extensions.RollingUpdateDeployment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.RollingUpdateDeployment.Builder>Copyright © 2020. All rights reserved.