public static final class V1Apps.RollingUpdateDeployment extends com.google.protobuf.GeneratedMessageV3 implements V1Apps.RollingUpdateDeploymentOrBuilder
Spec to control the desired behavior of rolling update.Protobuf type
k8s.io.api.apps.v1.RollingUpdateDeployment| Modifier and Type | Class and Description |
|---|---|
static class |
V1Apps.RollingUpdateDeployment.Builder
Spec to control the desired behavior of rolling update.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
MAXSURGE_FIELD_NUMBER |
static int |
MAXUNAVAILABLE_FIELD_NUMBER |
static com.google.protobuf.Parser<V1Apps.RollingUpdateDeployment> |
PARSER
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static V1Apps.RollingUpdateDeployment |
getDefaultInstance() |
V1Apps.RollingUpdateDeployment |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
IntStr.IntOrString |
getMaxSurge()
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.IntOrStringOrBuilder |
getMaxUnavailableOrBuilder()
The maximum number of pods that can be unavailable during the update.
|
com.google.protobuf.Parser<V1Apps.RollingUpdateDeployment> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
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() |
static V1Apps.RollingUpdateDeployment.Builder |
newBuilder() |
static V1Apps.RollingUpdateDeployment.Builder |
newBuilder(V1Apps.RollingUpdateDeployment prototype) |
V1Apps.RollingUpdateDeployment.Builder |
newBuilderForType() |
protected V1Apps.RollingUpdateDeployment.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1Apps.RollingUpdateDeployment |
parseDelimitedFrom(InputStream input) |
static V1Apps.RollingUpdateDeployment |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Apps.RollingUpdateDeployment |
parseFrom(byte[] data) |
static V1Apps.RollingUpdateDeployment |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Apps.RollingUpdateDeployment |
parseFrom(ByteBuffer data) |
static V1Apps.RollingUpdateDeployment |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Apps.RollingUpdateDeployment |
parseFrom(com.google.protobuf.ByteString data) |
static V1Apps.RollingUpdateDeployment |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Apps.RollingUpdateDeployment |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1Apps.RollingUpdateDeployment |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Apps.RollingUpdateDeployment |
parseFrom(InputStream input) |
static V1Apps.RollingUpdateDeployment |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1Apps.RollingUpdateDeployment> |
parser() |
V1Apps.RollingUpdateDeployment.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int MAXUNAVAILABLE_FIELD_NUMBER
public static final int MAXSURGE_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1Apps.RollingUpdateDeployment> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 V1Apps.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 V1Apps.RollingUpdateDeploymentOrBuilderpublic 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 V1Apps.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 V1Apps.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 V1Apps.RollingUpdateDeploymentOrBuilderpublic 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 V1Apps.RollingUpdateDeploymentOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static V1Apps.RollingUpdateDeployment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Apps.RollingUpdateDeployment parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Apps.RollingUpdateDeployment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Apps.RollingUpdateDeployment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Apps.RollingUpdateDeployment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Apps.RollingUpdateDeployment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Apps.RollingUpdateDeployment parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1Apps.RollingUpdateDeployment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1Apps.RollingUpdateDeployment parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1Apps.RollingUpdateDeployment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1Apps.RollingUpdateDeployment parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1Apps.RollingUpdateDeployment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1Apps.RollingUpdateDeployment.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1Apps.RollingUpdateDeployment.Builder newBuilder()
public static V1Apps.RollingUpdateDeployment.Builder newBuilder(V1Apps.RollingUpdateDeployment prototype)
public V1Apps.RollingUpdateDeployment.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1Apps.RollingUpdateDeployment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1Apps.RollingUpdateDeployment getDefaultInstance()
public static com.google.protobuf.Parser<V1Apps.RollingUpdateDeployment> parser()
public com.google.protobuf.Parser<V1Apps.RollingUpdateDeployment> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1Apps.RollingUpdateDeployment getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.