Package k8s.io.api.core.v1
Class Generated.NodeAffinity.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.NodeAffinity.Builder>
-
- k8s.io.api.core.v1.Generated.NodeAffinity.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.NodeAffinityOrBuilder
- Enclosing class:
- Generated.NodeAffinity
public static final class Generated.NodeAffinity.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.NodeAffinity.Builder> implements Generated.NodeAffinityOrBuilder
Node affinity is a group of node affinity scheduling rules.
Protobuf typek8s.io.api.core.v1.NodeAffinity
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.NodeAffinity.BuilderaddAllPreferredDuringSchedulingIgnoredDuringExecution(Iterable<? extends Generated.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.Generated.NodeAffinity.BuilderaddPreferredDuringSchedulingIgnoredDuringExecution(int index, Generated.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.Generated.NodeAffinity.BuilderaddPreferredDuringSchedulingIgnoredDuringExecution(int index, Generated.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.Generated.NodeAffinity.BuilderaddPreferredDuringSchedulingIgnoredDuringExecution(Generated.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.Generated.NodeAffinity.BuilderaddPreferredDuringSchedulingIgnoredDuringExecution(Generated.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.Generated.PreferredSchedulingTerm.BuilderaddPreferredDuringSchedulingIgnoredDuringExecutionBuilder()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.Generated.PreferredSchedulingTerm.BuilderaddPreferredDuringSchedulingIgnoredDuringExecutionBuilder(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.Generated.NodeAffinity.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.NodeAffinitybuild()Generated.NodeAffinitybuildPartial()Generated.NodeAffinity.Builderclear()Generated.NodeAffinity.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.NodeAffinity.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.NodeAffinity.BuilderclearPreferredDuringSchedulingIgnoredDuringExecution()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.Generated.NodeAffinity.BuilderclearRequiredDuringSchedulingIgnoredDuringExecution()If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node.Generated.NodeAffinity.Builderclone()Generated.NodeAffinitygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Generated.PreferredSchedulingTermgetPreferredDuringSchedulingIgnoredDuringExecution(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.Generated.PreferredSchedulingTerm.BuildergetPreferredDuringSchedulingIgnoredDuringExecutionBuilder(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<Generated.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.intgetPreferredDuringSchedulingIgnoredDuringExecutionCount()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<Generated.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.Generated.PreferredSchedulingTermOrBuildergetPreferredDuringSchedulingIgnoredDuringExecutionOrBuilder(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 Generated.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.Generated.NodeSelectorgetRequiredDuringSchedulingIgnoredDuringExecution()If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node.Generated.NodeSelector.BuildergetRequiredDuringSchedulingIgnoredDuringExecutionBuilder()If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node.Generated.NodeSelectorOrBuildergetRequiredDuringSchedulingIgnoredDuringExecutionOrBuilder()If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node.booleanhasRequiredDuringSchedulingIgnoredDuringExecution()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.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Generated.NodeAffinity.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.NodeAffinity.BuildermergeFrom(com.google.protobuf.Message other)Generated.NodeAffinity.BuildermergeFrom(Generated.NodeAffinity other)Generated.NodeAffinity.BuildermergeRequiredDuringSchedulingIgnoredDuringExecution(Generated.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.Generated.NodeAffinity.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.NodeAffinity.BuilderremovePreferredDuringSchedulingIgnoredDuringExecution(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.Generated.NodeAffinity.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.NodeAffinity.BuildersetPreferredDuringSchedulingIgnoredDuringExecution(int index, Generated.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.Generated.NodeAffinity.BuildersetPreferredDuringSchedulingIgnoredDuringExecution(int index, Generated.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.Generated.NodeAffinity.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.NodeAffinity.BuildersetRequiredDuringSchedulingIgnoredDuringExecution(Generated.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.Generated.NodeAffinity.BuildersetRequiredDuringSchedulingIgnoredDuringExecution(Generated.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.Generated.NodeAffinity.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.NodeAffinity.Builder>
-
clear
public Generated.NodeAffinity.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.NodeAffinity.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.NodeAffinity.Builder>
-
getDefaultInstanceForType
public Generated.NodeAffinity getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.NodeAffinity build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.NodeAffinity buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.NodeAffinity.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.NodeAffinity.Builder>
-
setField
public Generated.NodeAffinity.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.NodeAffinity.Builder>
-
clearField
public Generated.NodeAffinity.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.NodeAffinity.Builder>
-
clearOneof
public Generated.NodeAffinity.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.NodeAffinity.Builder>
-
setRepeatedField
public Generated.NodeAffinity.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.NodeAffinity.Builder>
-
addRepeatedField
public Generated.NodeAffinity.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.NodeAffinity.Builder>
-
mergeFrom
public Generated.NodeAffinity.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.NodeAffinity.Builder>
-
mergeFrom
public Generated.NodeAffinity.Builder mergeFrom(Generated.NodeAffinity other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.NodeAffinity.Builder>
-
mergeFrom
public Generated.NodeAffinity.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.NodeAffinity.Builder>- Throws:
IOException
-
hasRequiredDuringSchedulingIgnoredDuringExecution
public 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;- Specified by:
hasRequiredDuringSchedulingIgnoredDuringExecutionin interfaceGenerated.NodeAffinityOrBuilder- Returns:
- Whether the requiredDuringSchedulingIgnoredDuringExecution field is set.
-
getRequiredDuringSchedulingIgnoredDuringExecution
public Generated.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;- Specified by:
getRequiredDuringSchedulingIgnoredDuringExecutionin interfaceGenerated.NodeAffinityOrBuilder- Returns:
- The requiredDuringSchedulingIgnoredDuringExecution.
-
setRequiredDuringSchedulingIgnoredDuringExecution
public Generated.NodeAffinity.Builder setRequiredDuringSchedulingIgnoredDuringExecution(Generated.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;
-
setRequiredDuringSchedulingIgnoredDuringExecution
public Generated.NodeAffinity.Builder setRequiredDuringSchedulingIgnoredDuringExecution(Generated.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;
-
mergeRequiredDuringSchedulingIgnoredDuringExecution
public Generated.NodeAffinity.Builder mergeRequiredDuringSchedulingIgnoredDuringExecution(Generated.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;
-
clearRequiredDuringSchedulingIgnoredDuringExecution
public Generated.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;
-
getRequiredDuringSchedulingIgnoredDuringExecutionBuilder
public Generated.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;
-
getRequiredDuringSchedulingIgnoredDuringExecutionOrBuilder
public Generated.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;- Specified by:
getRequiredDuringSchedulingIgnoredDuringExecutionOrBuilderin interfaceGenerated.NodeAffinityOrBuilder
-
getPreferredDuringSchedulingIgnoredDuringExecutionList
public List<Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;- Specified by:
getPreferredDuringSchedulingIgnoredDuringExecutionListin interfaceGenerated.NodeAffinityOrBuilder
-
getPreferredDuringSchedulingIgnoredDuringExecutionCount
public 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 +listType=atomic
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;- Specified by:
getPreferredDuringSchedulingIgnoredDuringExecutionCountin interfaceGenerated.NodeAffinityOrBuilder
-
getPreferredDuringSchedulingIgnoredDuringExecution
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;- Specified by:
getPreferredDuringSchedulingIgnoredDuringExecutionin interfaceGenerated.NodeAffinityOrBuilder
-
setPreferredDuringSchedulingIgnoredDuringExecution
public Generated.NodeAffinity.Builder setPreferredDuringSchedulingIgnoredDuringExecution(int index, Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
-
setPreferredDuringSchedulingIgnoredDuringExecution
public Generated.NodeAffinity.Builder setPreferredDuringSchedulingIgnoredDuringExecution(int index, Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
-
addPreferredDuringSchedulingIgnoredDuringExecution
public Generated.NodeAffinity.Builder addPreferredDuringSchedulingIgnoredDuringExecution(Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
-
addPreferredDuringSchedulingIgnoredDuringExecution
public Generated.NodeAffinity.Builder addPreferredDuringSchedulingIgnoredDuringExecution(int index, Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
-
addPreferredDuringSchedulingIgnoredDuringExecution
public Generated.NodeAffinity.Builder addPreferredDuringSchedulingIgnoredDuringExecution(Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
-
addPreferredDuringSchedulingIgnoredDuringExecution
public Generated.NodeAffinity.Builder addPreferredDuringSchedulingIgnoredDuringExecution(int index, Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
-
addAllPreferredDuringSchedulingIgnoredDuringExecution
public Generated.NodeAffinity.Builder addAllPreferredDuringSchedulingIgnoredDuringExecution(Iterable<? extends Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
-
clearPreferredDuringSchedulingIgnoredDuringExecution
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
-
removePreferredDuringSchedulingIgnoredDuringExecution
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
-
getPreferredDuringSchedulingIgnoredDuringExecutionBuilder
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
-
getPreferredDuringSchedulingIgnoredDuringExecutionOrBuilder
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;- Specified by:
getPreferredDuringSchedulingIgnoredDuringExecutionOrBuilderin interfaceGenerated.NodeAffinityOrBuilder
-
getPreferredDuringSchedulingIgnoredDuringExecutionOrBuilderList
public List<? extends Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;- Specified by:
getPreferredDuringSchedulingIgnoredDuringExecutionOrBuilderListin interfaceGenerated.NodeAffinityOrBuilder
-
addPreferredDuringSchedulingIgnoredDuringExecutionBuilder
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
-
addPreferredDuringSchedulingIgnoredDuringExecutionBuilder
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
-
getPreferredDuringSchedulingIgnoredDuringExecutionBuilderList
public List<Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
-
setUnknownFields
public final Generated.NodeAffinity.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.NodeAffinity.Builder>
-
mergeUnknownFields
public final Generated.NodeAffinity.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.NodeAffinity.Builder>
-
-