public static final class V1beta2Apps.RollingUpdateDaemonSet.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta2Apps.RollingUpdateDaemonSet.Builder> implements V1beta2Apps.RollingUpdateDaemonSetOrBuilder
Spec to control the desired behavior of daemon set rolling update.Protobuf type
k8s.io.api.apps.v1beta2.RollingUpdateDaemonSet| Modifier and Type | Method and Description |
|---|---|
V1beta2Apps.RollingUpdateDaemonSet.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta2Apps.RollingUpdateDaemonSet |
build() |
V1beta2Apps.RollingUpdateDaemonSet |
buildPartial() |
V1beta2Apps.RollingUpdateDaemonSet.Builder |
clear() |
V1beta2Apps.RollingUpdateDaemonSet.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1beta2Apps.RollingUpdateDaemonSet.Builder |
clearMaxSurge()
The maximum number of nodes with an existing available DaemonSet pod that
can have an updated DaemonSet pod during during an update.
|
V1beta2Apps.RollingUpdateDaemonSet.Builder |
clearMaxUnavailable()
The maximum number of DaemonSet pods that can be unavailable during the
update.
|
V1beta2Apps.RollingUpdateDaemonSet.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1beta2Apps.RollingUpdateDaemonSet.Builder |
clone() |
V1beta2Apps.RollingUpdateDaemonSet |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
IntStr.IntOrString |
getMaxSurge()
The maximum number of nodes with an existing available DaemonSet pod that
can have an updated DaemonSet pod during during an update.
|
IntStr.IntOrString.Builder |
getMaxSurgeBuilder()
The maximum number of nodes with an existing available DaemonSet pod that
can have an updated DaemonSet pod during during an update.
|
IntStr.IntOrStringOrBuilder |
getMaxSurgeOrBuilder()
The maximum number of nodes with an existing available DaemonSet pod that
can have an updated DaemonSet pod during during an update.
|
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 |
hasMaxSurge()
The maximum number of nodes with an existing available DaemonSet pod that
can have an updated DaemonSet pod during during an 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() |
V1beta2Apps.RollingUpdateDaemonSet.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1beta2Apps.RollingUpdateDaemonSet.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1beta2Apps.RollingUpdateDaemonSet.Builder |
mergeFrom(V1beta2Apps.RollingUpdateDaemonSet other) |
V1beta2Apps.RollingUpdateDaemonSet.Builder |
mergeMaxSurge(IntStr.IntOrString value)
The maximum number of nodes with an existing available DaemonSet pod that
can have an updated DaemonSet pod during during an update.
|
V1beta2Apps.RollingUpdateDaemonSet.Builder |
mergeMaxUnavailable(IntStr.IntOrString value)
The maximum number of DaemonSet pods that can be unavailable during the
update.
|
V1beta2Apps.RollingUpdateDaemonSet.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta2Apps.RollingUpdateDaemonSet.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta2Apps.RollingUpdateDaemonSet.Builder |
setMaxSurge(IntStr.IntOrString.Builder builderForValue)
The maximum number of nodes with an existing available DaemonSet pod that
can have an updated DaemonSet pod during during an update.
|
V1beta2Apps.RollingUpdateDaemonSet.Builder |
setMaxSurge(IntStr.IntOrString value)
The maximum number of nodes with an existing available DaemonSet pod that
can have an updated DaemonSet pod during during an update.
|
V1beta2Apps.RollingUpdateDaemonSet.Builder |
setMaxUnavailable(IntStr.IntOrString.Builder builderForValue)
The maximum number of DaemonSet pods that can be unavailable during the
update.
|
V1beta2Apps.RollingUpdateDaemonSet.Builder |
setMaxUnavailable(IntStr.IntOrString value)
The maximum number of DaemonSet pods that can be unavailable during the
update.
|
V1beta2Apps.RollingUpdateDaemonSet.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1beta2Apps.RollingUpdateDaemonSet.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.RollingUpdateDaemonSet.Builder>public V1beta2Apps.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<V1beta2Apps.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<V1beta2Apps.RollingUpdateDaemonSet.Builder>public V1beta2Apps.RollingUpdateDaemonSet getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta2Apps.RollingUpdateDaemonSet build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta2Apps.RollingUpdateDaemonSet buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta2Apps.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<V1beta2Apps.RollingUpdateDaemonSet.Builder>public V1beta2Apps.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<V1beta2Apps.RollingUpdateDaemonSet.Builder>public V1beta2Apps.RollingUpdateDaemonSet.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta2Apps.RollingUpdateDaemonSet.Builder>public V1beta2Apps.RollingUpdateDaemonSet.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta2Apps.RollingUpdateDaemonSet.Builder>public V1beta2Apps.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<V1beta2Apps.RollingUpdateDaemonSet.Builder>public V1beta2Apps.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<V1beta2Apps.RollingUpdateDaemonSet.Builder>public V1beta2Apps.RollingUpdateDaemonSet.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta2Apps.RollingUpdateDaemonSet.Builder>public V1beta2Apps.RollingUpdateDaemonSet.Builder mergeFrom(V1beta2Apps.RollingUpdateDaemonSet other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta2Apps.RollingUpdateDaemonSet.Builder>public V1beta2Apps.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<V1beta2Apps.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 if MaxSurge is 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 V1beta2Apps.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 if MaxSurge is 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 V1beta2Apps.RollingUpdateDaemonSetOrBuilderpublic V1beta2Apps.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 if MaxSurge is 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 V1beta2Apps.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 if MaxSurge is 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 V1beta2Apps.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 if MaxSurge is 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 V1beta2Apps.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 if MaxSurge is 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 if MaxSurge is 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 if MaxSurge is 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 V1beta2Apps.RollingUpdateDaemonSetOrBuilderpublic boolean hasMaxSurge()
The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. 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 to a minimum of 1. Default value is 0. 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 a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption. This is beta field and enabled/disabled by DaemonSetUpdateSurge feature gate. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxSurge = 2;hasMaxSurge in interface V1beta2Apps.RollingUpdateDaemonSetOrBuilderpublic IntStr.IntOrString getMaxSurge()
The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. 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 to a minimum of 1. Default value is 0. 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 a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption. This is beta field and enabled/disabled by DaemonSetUpdateSurge feature gate. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxSurge = 2;getMaxSurge in interface V1beta2Apps.RollingUpdateDaemonSetOrBuilderpublic V1beta2Apps.RollingUpdateDaemonSet.Builder setMaxSurge(IntStr.IntOrString value)
The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. 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 to a minimum of 1. Default value is 0. 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 a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption. This is beta field and enabled/disabled by DaemonSetUpdateSurge feature gate. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxSurge = 2;public V1beta2Apps.RollingUpdateDaemonSet.Builder setMaxSurge(IntStr.IntOrString.Builder builderForValue)
The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. 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 to a minimum of 1. Default value is 0. 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 a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption. This is beta field and enabled/disabled by DaemonSetUpdateSurge feature gate. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxSurge = 2;public V1beta2Apps.RollingUpdateDaemonSet.Builder mergeMaxSurge(IntStr.IntOrString value)
The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. 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 to a minimum of 1. Default value is 0. 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 a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption. This is beta field and enabled/disabled by DaemonSetUpdateSurge feature gate. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxSurge = 2;public V1beta2Apps.RollingUpdateDaemonSet.Builder clearMaxSurge()
The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. 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 to a minimum of 1. Default value is 0. 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 a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption. This is beta field and enabled/disabled by DaemonSetUpdateSurge feature gate. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxSurge = 2;public IntStr.IntOrString.Builder getMaxSurgeBuilder()
The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. 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 to a minimum of 1. Default value is 0. 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 a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption. This is beta field and enabled/disabled by DaemonSetUpdateSurge feature gate. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxSurge = 2;public IntStr.IntOrStringOrBuilder getMaxSurgeOrBuilder()
The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. 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 to a minimum of 1. Default value is 0. 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 a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption. This is beta field and enabled/disabled by DaemonSetUpdateSurge feature gate. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString maxSurge = 2;getMaxSurgeOrBuilder in interface V1beta2Apps.RollingUpdateDaemonSetOrBuilderpublic final V1beta2Apps.RollingUpdateDaemonSet.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta2Apps.RollingUpdateDaemonSet.Builder>public final V1beta2Apps.RollingUpdateDaemonSet.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta2Apps.RollingUpdateDaemonSet.Builder>Copyright © 2023. All rights reserved.