public static final class V1.NodeAffinity.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.NodeAffinity.Builder> implements V1.NodeAffinityOrBuilder
Node affinity is a group of node affinity scheduling rules.Protobuf type
k8s.io.api.core.v1.NodeAffinity| Modifier and Type | Method and Description |
|---|---|
V1.NodeAffinity.Builder |
addAllPreferredDuringSchedulingIgnoredDuringExecution(Iterable<? extends V1.PreferredSchedulingTerm> values)
The scheduler will prefer to schedule pods to nodes that satisfy
the affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
V1.NodeAffinity.Builder |
addPreferredDuringSchedulingIgnoredDuringExecution(int index,
V1.PreferredSchedulingTerm.Builder builderForValue)
The scheduler will prefer to schedule pods to nodes that satisfy
the affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
V1.NodeAffinity.Builder |
addPreferredDuringSchedulingIgnoredDuringExecution(int index,
V1.PreferredSchedulingTerm value)
The scheduler will prefer to schedule pods to nodes that satisfy
the affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
V1.NodeAffinity.Builder |
addPreferredDuringSchedulingIgnoredDuringExecution(V1.PreferredSchedulingTerm.Builder builderForValue)
The scheduler will prefer to schedule pods to nodes that satisfy
the affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
V1.NodeAffinity.Builder |
addPreferredDuringSchedulingIgnoredDuringExecution(V1.PreferredSchedulingTerm value)
The scheduler will prefer to schedule pods to nodes that satisfy
the affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
V1.PreferredSchedulingTerm.Builder |
addPreferredDuringSchedulingIgnoredDuringExecutionBuilder()
The scheduler will prefer to schedule pods to nodes that satisfy
the affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
V1.PreferredSchedulingTerm.Builder |
addPreferredDuringSchedulingIgnoredDuringExecutionBuilder(int index)
The scheduler will prefer to schedule pods to nodes that satisfy
the affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
V1.NodeAffinity.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.NodeAffinity |
build() |
V1.NodeAffinity |
buildPartial() |
V1.NodeAffinity.Builder |
clear() |
V1.NodeAffinity.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.NodeAffinity.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.NodeAffinity.Builder |
clearPreferredDuringSchedulingIgnoredDuringExecution()
The scheduler will prefer to schedule pods to nodes that satisfy
the affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
V1.NodeAffinity.Builder |
clearRequiredDuringSchedulingIgnoredDuringExecution()
If the affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
|
V1.NodeAffinity.Builder |
clone() |
V1.NodeAffinity |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
V1.PreferredSchedulingTerm |
getPreferredDuringSchedulingIgnoredDuringExecution(int index)
The scheduler will prefer to schedule pods to nodes that satisfy
the affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
V1.PreferredSchedulingTerm.Builder |
getPreferredDuringSchedulingIgnoredDuringExecutionBuilder(int index)
The scheduler will prefer to schedule pods to nodes that satisfy
the affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
List<V1.PreferredSchedulingTerm.Builder> |
getPreferredDuringSchedulingIgnoredDuringExecutionBuilderList()
The scheduler will prefer to schedule pods to nodes that satisfy
the affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
int |
getPreferredDuringSchedulingIgnoredDuringExecutionCount()
The scheduler will prefer to schedule pods to nodes that satisfy
the affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
List<V1.PreferredSchedulingTerm> |
getPreferredDuringSchedulingIgnoredDuringExecutionList()
The scheduler will prefer to schedule pods to nodes that satisfy
the affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
V1.PreferredSchedulingTermOrBuilder |
getPreferredDuringSchedulingIgnoredDuringExecutionOrBuilder(int index)
The scheduler will prefer to schedule pods to nodes that satisfy
the affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
List<? extends V1.PreferredSchedulingTermOrBuilder> |
getPreferredDuringSchedulingIgnoredDuringExecutionOrBuilderList()
The scheduler will prefer to schedule pods to nodes that satisfy
the affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
V1.NodeSelector |
getRequiredDuringSchedulingIgnoredDuringExecution()
If the affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
|
V1.NodeSelector.Builder |
getRequiredDuringSchedulingIgnoredDuringExecutionBuilder()
If the affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
|
V1.NodeSelectorOrBuilder |
getRequiredDuringSchedulingIgnoredDuringExecutionOrBuilder()
If the affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
|
boolean |
hasRequiredDuringSchedulingIgnoredDuringExecution()
If the affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1.NodeAffinity.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.NodeAffinity.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.NodeAffinity.Builder |
mergeFrom(V1.NodeAffinity other) |
V1.NodeAffinity.Builder |
mergeRequiredDuringSchedulingIgnoredDuringExecution(V1.NodeSelector value)
If the affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
|
V1.NodeAffinity.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.NodeAffinity.Builder |
removePreferredDuringSchedulingIgnoredDuringExecution(int index)
The scheduler will prefer to schedule pods to nodes that satisfy
the affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
V1.NodeAffinity.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.NodeAffinity.Builder |
setPreferredDuringSchedulingIgnoredDuringExecution(int index,
V1.PreferredSchedulingTerm.Builder builderForValue)
The scheduler will prefer to schedule pods to nodes that satisfy
the affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
V1.NodeAffinity.Builder |
setPreferredDuringSchedulingIgnoredDuringExecution(int index,
V1.PreferredSchedulingTerm value)
The scheduler will prefer to schedule pods to nodes that satisfy
the affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
V1.NodeAffinity.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.NodeAffinity.Builder |
setRequiredDuringSchedulingIgnoredDuringExecution(V1.NodeSelector.Builder builderForValue)
If the affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
|
V1.NodeAffinity.Builder |
setRequiredDuringSchedulingIgnoredDuringExecution(V1.NodeSelector value)
If the affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
|
V1.NodeAffinity.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<V1.NodeAffinity.Builder>public V1.NodeAffinity.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NodeAffinity.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<V1.NodeAffinity.Builder>public V1.NodeAffinity getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.NodeAffinity build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.NodeAffinity buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.NodeAffinity.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NodeAffinity.Builder>public V1.NodeAffinity.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<V1.NodeAffinity.Builder>public V1.NodeAffinity.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NodeAffinity.Builder>public V1.NodeAffinity.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NodeAffinity.Builder>public V1.NodeAffinity.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<V1.NodeAffinity.Builder>public V1.NodeAffinity.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<V1.NodeAffinity.Builder>public V1.NodeAffinity.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.NodeAffinity.Builder>public V1.NodeAffinity.Builder mergeFrom(V1.NodeAffinity other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NodeAffinity.Builder>public V1.NodeAffinity.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<V1.NodeAffinity.Builder>IOExceptionpublic boolean hasRequiredDuringSchedulingIgnoredDuringExecution()
If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. +optional
optional .k8s.io.api.core.v1.NodeSelector requiredDuringSchedulingIgnoredDuringExecution = 1;
hasRequiredDuringSchedulingIgnoredDuringExecution in interface V1.NodeAffinityOrBuilderpublic V1.NodeSelector getRequiredDuringSchedulingIgnoredDuringExecution()
If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. +optional
optional .k8s.io.api.core.v1.NodeSelector requiredDuringSchedulingIgnoredDuringExecution = 1;
getRequiredDuringSchedulingIgnoredDuringExecution in interface V1.NodeAffinityOrBuilderpublic V1.NodeAffinity.Builder setRequiredDuringSchedulingIgnoredDuringExecution(V1.NodeSelector value)
If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. +optional
optional .k8s.io.api.core.v1.NodeSelector requiredDuringSchedulingIgnoredDuringExecution = 1;
public V1.NodeAffinity.Builder setRequiredDuringSchedulingIgnoredDuringExecution(V1.NodeSelector.Builder builderForValue)
If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. +optional
optional .k8s.io.api.core.v1.NodeSelector requiredDuringSchedulingIgnoredDuringExecution = 1;
public V1.NodeAffinity.Builder mergeRequiredDuringSchedulingIgnoredDuringExecution(V1.NodeSelector value)
If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. +optional
optional .k8s.io.api.core.v1.NodeSelector requiredDuringSchedulingIgnoredDuringExecution = 1;
public V1.NodeAffinity.Builder clearRequiredDuringSchedulingIgnoredDuringExecution()
If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. +optional
optional .k8s.io.api.core.v1.NodeSelector requiredDuringSchedulingIgnoredDuringExecution = 1;
public V1.NodeSelector.Builder getRequiredDuringSchedulingIgnoredDuringExecutionBuilder()
If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. +optional
optional .k8s.io.api.core.v1.NodeSelector requiredDuringSchedulingIgnoredDuringExecution = 1;
public V1.NodeSelectorOrBuilder getRequiredDuringSchedulingIgnoredDuringExecutionOrBuilder()
If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to an update), the system may or may not try to eventually evict the pod from its node. +optional
optional .k8s.io.api.core.v1.NodeSelector requiredDuringSchedulingIgnoredDuringExecution = 1;
getRequiredDuringSchedulingIgnoredDuringExecutionOrBuilder in interface V1.NodeAffinityOrBuilderpublic List<V1.PreferredSchedulingTerm> getPreferredDuringSchedulingIgnoredDuringExecutionList()
The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
getPreferredDuringSchedulingIgnoredDuringExecutionList in interface V1.NodeAffinityOrBuilderpublic int getPreferredDuringSchedulingIgnoredDuringExecutionCount()
The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
getPreferredDuringSchedulingIgnoredDuringExecutionCount in interface V1.NodeAffinityOrBuilderpublic V1.PreferredSchedulingTerm getPreferredDuringSchedulingIgnoredDuringExecution(int index)
The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
getPreferredDuringSchedulingIgnoredDuringExecution in interface V1.NodeAffinityOrBuilderpublic V1.NodeAffinity.Builder setPreferredDuringSchedulingIgnoredDuringExecution(int index, V1.PreferredSchedulingTerm value)
The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
public V1.NodeAffinity.Builder setPreferredDuringSchedulingIgnoredDuringExecution(int index, V1.PreferredSchedulingTerm.Builder builderForValue)
The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
public V1.NodeAffinity.Builder addPreferredDuringSchedulingIgnoredDuringExecution(V1.PreferredSchedulingTerm value)
The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
public V1.NodeAffinity.Builder addPreferredDuringSchedulingIgnoredDuringExecution(int index, V1.PreferredSchedulingTerm value)
The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
public V1.NodeAffinity.Builder addPreferredDuringSchedulingIgnoredDuringExecution(V1.PreferredSchedulingTerm.Builder builderForValue)
The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
public V1.NodeAffinity.Builder addPreferredDuringSchedulingIgnoredDuringExecution(int index, V1.PreferredSchedulingTerm.Builder builderForValue)
The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
public V1.NodeAffinity.Builder addAllPreferredDuringSchedulingIgnoredDuringExecution(Iterable<? extends V1.PreferredSchedulingTerm> values)
The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
public V1.NodeAffinity.Builder clearPreferredDuringSchedulingIgnoredDuringExecution()
The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
public V1.NodeAffinity.Builder removePreferredDuringSchedulingIgnoredDuringExecution(int index)
The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
public V1.PreferredSchedulingTerm.Builder getPreferredDuringSchedulingIgnoredDuringExecutionBuilder(int index)
The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
public V1.PreferredSchedulingTermOrBuilder getPreferredDuringSchedulingIgnoredDuringExecutionOrBuilder(int index)
The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
getPreferredDuringSchedulingIgnoredDuringExecutionOrBuilder in interface V1.NodeAffinityOrBuilderpublic List<? extends V1.PreferredSchedulingTermOrBuilder> getPreferredDuringSchedulingIgnoredDuringExecutionOrBuilderList()
The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
getPreferredDuringSchedulingIgnoredDuringExecutionOrBuilderList in interface V1.NodeAffinityOrBuilderpublic V1.PreferredSchedulingTerm.Builder addPreferredDuringSchedulingIgnoredDuringExecutionBuilder()
The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
public V1.PreferredSchedulingTerm.Builder addPreferredDuringSchedulingIgnoredDuringExecutionBuilder(int index)
The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
public List<V1.PreferredSchedulingTerm.Builder> getPreferredDuringSchedulingIgnoredDuringExecutionBuilderList()
The scheduler will prefer to schedule pods to nodes that satisfy the affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node matches the corresponding matchExpressions; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
public final V1.NodeAffinity.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NodeAffinity.Builder>public final V1.NodeAffinity.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NodeAffinity.Builder>Copyright © 2020. All rights reserved.