public static final class V1beta1Extensions.RollingUpdateDaemonSet.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.RollingUpdateDaemonSet.Builder> implements V1beta1Extensions.RollingUpdateDaemonSetOrBuilder
Spec to control the desired behavior of daemon set rolling update.Protobuf type
k8s.io.api.extensions.v1beta1.RollingUpdateDaemonSet| Modifier and Type | Method and Description |
|---|---|
V1beta1Extensions.RollingUpdateDaemonSet.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Extensions.RollingUpdateDaemonSet |
build() |
V1beta1Extensions.RollingUpdateDaemonSet |
buildPartial() |
V1beta1Extensions.RollingUpdateDaemonSet.Builder |
clear() |
V1beta1Extensions.RollingUpdateDaemonSet.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1beta1Extensions.RollingUpdateDaemonSet.Builder |
clearMaxUnavailable()
The maximum number of DaemonSet pods that can be unavailable during the
update.
|
V1beta1Extensions.RollingUpdateDaemonSet.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1beta1Extensions.RollingUpdateDaemonSet.Builder |
clone() |
V1beta1Extensions.RollingUpdateDaemonSet |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
IntStr.IntOrString |
getMaxUnavailable()
The maximum number of DaemonSet pods that can be unavailable during the
update.
|
IntStr.IntOrString.Builder |
getMaxUnavailableBuilder()
The maximum number of DaemonSet pods that can be unavailable during the
update.
|
IntStr.IntOrStringOrBuilder |
getMaxUnavailableOrBuilder()
The maximum number of DaemonSet pods that can be unavailable during the
update.
|
boolean |
hasMaxUnavailable()
The maximum number of DaemonSet pods that can be unavailable during the
update.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1beta1Extensions.RollingUpdateDaemonSet.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1beta1Extensions.RollingUpdateDaemonSet.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1beta1Extensions.RollingUpdateDaemonSet.Builder |
mergeFrom(V1beta1Extensions.RollingUpdateDaemonSet other) |
V1beta1Extensions.RollingUpdateDaemonSet.Builder |
mergeMaxUnavailable(IntStr.IntOrString value)
The maximum number of DaemonSet pods that can be unavailable during the
update.
|
V1beta1Extensions.RollingUpdateDaemonSet.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Extensions.RollingUpdateDaemonSet.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Extensions.RollingUpdateDaemonSet.Builder |
setMaxUnavailable(IntStr.IntOrString.Builder builderForValue)
The maximum number of DaemonSet pods that can be unavailable during the
update.
|
V1beta1Extensions.RollingUpdateDaemonSet.Builder |
setMaxUnavailable(IntStr.IntOrString value)
The maximum number of DaemonSet pods that can be unavailable during the
update.
|
V1beta1Extensions.RollingUpdateDaemonSet.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1beta1Extensions.RollingUpdateDaemonSet.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.RollingUpdateDaemonSet.Builder>public V1beta1Extensions.RollingUpdateDaemonSet.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.RollingUpdateDaemonSet.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.RollingUpdateDaemonSet.Builder>public V1beta1Extensions.RollingUpdateDaemonSet getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta1Extensions.RollingUpdateDaemonSet build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Extensions.RollingUpdateDaemonSet buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Extensions.RollingUpdateDaemonSet.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.RollingUpdateDaemonSet.Builder>public V1beta1Extensions.RollingUpdateDaemonSet.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.RollingUpdateDaemonSet.Builder>public V1beta1Extensions.RollingUpdateDaemonSet.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.RollingUpdateDaemonSet.Builder>public V1beta1Extensions.RollingUpdateDaemonSet.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.RollingUpdateDaemonSet.Builder>public V1beta1Extensions.RollingUpdateDaemonSet.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.RollingUpdateDaemonSet.Builder>public V1beta1Extensions.RollingUpdateDaemonSet.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.RollingUpdateDaemonSet.Builder>public V1beta1Extensions.RollingUpdateDaemonSet.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Extensions.RollingUpdateDaemonSet.Builder>public V1beta1Extensions.RollingUpdateDaemonSet.Builder mergeFrom(V1beta1Extensions.RollingUpdateDaemonSet other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.RollingUpdateDaemonSet.Builder>public V1beta1Extensions.RollingUpdateDaemonSet.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.RollingUpdateDaemonSet.Builder>IOExceptionpublic boolean hasMaxUnavailable()
The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 1;
hasMaxUnavailable in interface V1beta1Extensions.RollingUpdateDaemonSetOrBuilderpublic IntStr.IntOrString getMaxUnavailable()
The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 1;
getMaxUnavailable in interface V1beta1Extensions.RollingUpdateDaemonSetOrBuilderpublic V1beta1Extensions.RollingUpdateDaemonSet.Builder setMaxUnavailable(IntStr.IntOrString value)
The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 1;
public V1beta1Extensions.RollingUpdateDaemonSet.Builder setMaxUnavailable(IntStr.IntOrString.Builder builderForValue)
The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 1;
public V1beta1Extensions.RollingUpdateDaemonSet.Builder mergeMaxUnavailable(IntStr.IntOrString value)
The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 1;
public V1beta1Extensions.RollingUpdateDaemonSet.Builder clearMaxUnavailable()
The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 1;
public IntStr.IntOrString.Builder getMaxUnavailableBuilder()
The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 1;
public IntStr.IntOrStringOrBuilder getMaxUnavailableOrBuilder()
The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxUnavailable = 1;
getMaxUnavailableOrBuilder in interface V1beta1Extensions.RollingUpdateDaemonSetOrBuilderpublic final V1beta1Extensions.RollingUpdateDaemonSet.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.RollingUpdateDaemonSet.Builder>public final V1beta1Extensions.RollingUpdateDaemonSet.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.RollingUpdateDaemonSet.Builder>Copyright © 2020. All rights reserved.