public static final class V1.PodAntiAffinity.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.PodAntiAffinity.Builder> implements V1.PodAntiAffinityOrBuilder
Pod anti affinity is a group of inter pod anti affinity scheduling rules.Protobuf type
k8s.io.api.core.v1.PodAntiAffinity| Modifier and Type | Method and Description |
|---|---|
V1.PodAntiAffinity.Builder |
addAllPreferredDuringSchedulingIgnoredDuringExecution(Iterable<? extends V1.WeightedPodAffinityTerm> values)
The scheduler will prefer to schedule pods to nodes that satisfy
the anti-affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
V1.PodAntiAffinity.Builder |
addAllRequiredDuringSchedulingIgnoredDuringExecution(Iterable<? extends V1.PodAffinityTerm> values)
If the anti-affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
|
V1.PodAntiAffinity.Builder |
addPreferredDuringSchedulingIgnoredDuringExecution(int index,
V1.WeightedPodAffinityTerm.Builder builderForValue)
The scheduler will prefer to schedule pods to nodes that satisfy
the anti-affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
V1.PodAntiAffinity.Builder |
addPreferredDuringSchedulingIgnoredDuringExecution(int index,
V1.WeightedPodAffinityTerm value)
The scheduler will prefer to schedule pods to nodes that satisfy
the anti-affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
V1.PodAntiAffinity.Builder |
addPreferredDuringSchedulingIgnoredDuringExecution(V1.WeightedPodAffinityTerm.Builder builderForValue)
The scheduler will prefer to schedule pods to nodes that satisfy
the anti-affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
V1.PodAntiAffinity.Builder |
addPreferredDuringSchedulingIgnoredDuringExecution(V1.WeightedPodAffinityTerm value)
The scheduler will prefer to schedule pods to nodes that satisfy
the anti-affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
V1.WeightedPodAffinityTerm.Builder |
addPreferredDuringSchedulingIgnoredDuringExecutionBuilder()
The scheduler will prefer to schedule pods to nodes that satisfy
the anti-affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
V1.WeightedPodAffinityTerm.Builder |
addPreferredDuringSchedulingIgnoredDuringExecutionBuilder(int index)
The scheduler will prefer to schedule pods to nodes that satisfy
the anti-affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
V1.PodAntiAffinity.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.PodAntiAffinity.Builder |
addRequiredDuringSchedulingIgnoredDuringExecution(int index,
V1.PodAffinityTerm.Builder builderForValue)
If the anti-affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
|
V1.PodAntiAffinity.Builder |
addRequiredDuringSchedulingIgnoredDuringExecution(int index,
V1.PodAffinityTerm value)
If the anti-affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
|
V1.PodAntiAffinity.Builder |
addRequiredDuringSchedulingIgnoredDuringExecution(V1.PodAffinityTerm.Builder builderForValue)
If the anti-affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
|
V1.PodAntiAffinity.Builder |
addRequiredDuringSchedulingIgnoredDuringExecution(V1.PodAffinityTerm value)
If the anti-affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
|
V1.PodAffinityTerm.Builder |
addRequiredDuringSchedulingIgnoredDuringExecutionBuilder()
If the anti-affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
|
V1.PodAffinityTerm.Builder |
addRequiredDuringSchedulingIgnoredDuringExecutionBuilder(int index)
If the anti-affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
|
V1.PodAntiAffinity |
build() |
V1.PodAntiAffinity |
buildPartial() |
V1.PodAntiAffinity.Builder |
clear() |
V1.PodAntiAffinity.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.PodAntiAffinity.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.PodAntiAffinity.Builder |
clearPreferredDuringSchedulingIgnoredDuringExecution()
The scheduler will prefer to schedule pods to nodes that satisfy
the anti-affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
V1.PodAntiAffinity.Builder |
clearRequiredDuringSchedulingIgnoredDuringExecution()
If the anti-affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
|
V1.PodAntiAffinity.Builder |
clone() |
V1.PodAntiAffinity |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
V1.WeightedPodAffinityTerm |
getPreferredDuringSchedulingIgnoredDuringExecution(int index)
The scheduler will prefer to schedule pods to nodes that satisfy
the anti-affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
V1.WeightedPodAffinityTerm.Builder |
getPreferredDuringSchedulingIgnoredDuringExecutionBuilder(int index)
The scheduler will prefer to schedule pods to nodes that satisfy
the anti-affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
List<V1.WeightedPodAffinityTerm.Builder> |
getPreferredDuringSchedulingIgnoredDuringExecutionBuilderList()
The scheduler will prefer to schedule pods to nodes that satisfy
the anti-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 anti-affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
List<V1.WeightedPodAffinityTerm> |
getPreferredDuringSchedulingIgnoredDuringExecutionList()
The scheduler will prefer to schedule pods to nodes that satisfy
the anti-affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
V1.WeightedPodAffinityTermOrBuilder |
getPreferredDuringSchedulingIgnoredDuringExecutionOrBuilder(int index)
The scheduler will prefer to schedule pods to nodes that satisfy
the anti-affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
List<? extends V1.WeightedPodAffinityTermOrBuilder> |
getPreferredDuringSchedulingIgnoredDuringExecutionOrBuilderList()
The scheduler will prefer to schedule pods to nodes that satisfy
the anti-affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
V1.PodAffinityTerm |
getRequiredDuringSchedulingIgnoredDuringExecution(int index)
If the anti-affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
|
V1.PodAffinityTerm.Builder |
getRequiredDuringSchedulingIgnoredDuringExecutionBuilder(int index)
If the anti-affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
|
List<V1.PodAffinityTerm.Builder> |
getRequiredDuringSchedulingIgnoredDuringExecutionBuilderList()
If the anti-affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
|
int |
getRequiredDuringSchedulingIgnoredDuringExecutionCount()
If the anti-affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
|
List<V1.PodAffinityTerm> |
getRequiredDuringSchedulingIgnoredDuringExecutionList()
If the anti-affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
|
V1.PodAffinityTermOrBuilder |
getRequiredDuringSchedulingIgnoredDuringExecutionOrBuilder(int index)
If the anti-affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
|
List<? extends V1.PodAffinityTermOrBuilder> |
getRequiredDuringSchedulingIgnoredDuringExecutionOrBuilderList()
If the anti-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.PodAntiAffinity.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.PodAntiAffinity.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.PodAntiAffinity.Builder |
mergeFrom(V1.PodAntiAffinity other) |
V1.PodAntiAffinity.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.PodAntiAffinity.Builder |
removePreferredDuringSchedulingIgnoredDuringExecution(int index)
The scheduler will prefer to schedule pods to nodes that satisfy
the anti-affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
V1.PodAntiAffinity.Builder |
removeRequiredDuringSchedulingIgnoredDuringExecution(int index)
If the anti-affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
|
V1.PodAntiAffinity.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.PodAntiAffinity.Builder |
setPreferredDuringSchedulingIgnoredDuringExecution(int index,
V1.WeightedPodAffinityTerm.Builder builderForValue)
The scheduler will prefer to schedule pods to nodes that satisfy
the anti-affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
V1.PodAntiAffinity.Builder |
setPreferredDuringSchedulingIgnoredDuringExecution(int index,
V1.WeightedPodAffinityTerm value)
The scheduler will prefer to schedule pods to nodes that satisfy
the anti-affinity expressions specified by this field, but it may choose
a node that violates one or more of the expressions.
|
V1.PodAntiAffinity.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.PodAntiAffinity.Builder |
setRequiredDuringSchedulingIgnoredDuringExecution(int index,
V1.PodAffinityTerm.Builder builderForValue)
If the anti-affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
|
V1.PodAntiAffinity.Builder |
setRequiredDuringSchedulingIgnoredDuringExecution(int index,
V1.PodAffinityTerm value)
If the anti-affinity requirements specified by this field are not met at
scheduling time, the pod will not be scheduled onto the node.
|
V1.PodAntiAffinity.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<V1.PodAntiAffinity.Builder>public V1.PodAntiAffinity.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.PodAntiAffinity.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.PodAntiAffinity.Builder>public V1.PodAntiAffinity getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.PodAntiAffinity build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.PodAntiAffinity buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.PodAntiAffinity.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.PodAntiAffinity.Builder>public V1.PodAntiAffinity.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.PodAntiAffinity.Builder>public V1.PodAntiAffinity.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodAntiAffinity.Builder>public V1.PodAntiAffinity.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodAntiAffinity.Builder>public V1.PodAntiAffinity.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.PodAntiAffinity.Builder>public V1.PodAntiAffinity.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.PodAntiAffinity.Builder>public V1.PodAntiAffinity.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.PodAntiAffinity.Builder>public V1.PodAntiAffinity.Builder mergeFrom(V1.PodAntiAffinity other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodAntiAffinity.Builder>public V1.PodAntiAffinity.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.PodAntiAffinity.Builder>IOExceptionpublic List<V1.PodAffinityTerm> getRequiredDuringSchedulingIgnoredDuringExecutionList()
If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
getRequiredDuringSchedulingIgnoredDuringExecutionList in interface V1.PodAntiAffinityOrBuilderpublic int getRequiredDuringSchedulingIgnoredDuringExecutionCount()
If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
getRequiredDuringSchedulingIgnoredDuringExecutionCount in interface V1.PodAntiAffinityOrBuilderpublic V1.PodAffinityTerm getRequiredDuringSchedulingIgnoredDuringExecution(int index)
If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
getRequiredDuringSchedulingIgnoredDuringExecution in interface V1.PodAntiAffinityOrBuilderpublic V1.PodAntiAffinity.Builder setRequiredDuringSchedulingIgnoredDuringExecution(int index, V1.PodAffinityTerm value)
If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
public V1.PodAntiAffinity.Builder setRequiredDuringSchedulingIgnoredDuringExecution(int index, V1.PodAffinityTerm.Builder builderForValue)
If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
public V1.PodAntiAffinity.Builder addRequiredDuringSchedulingIgnoredDuringExecution(V1.PodAffinityTerm value)
If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
public V1.PodAntiAffinity.Builder addRequiredDuringSchedulingIgnoredDuringExecution(int index, V1.PodAffinityTerm value)
If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
public V1.PodAntiAffinity.Builder addRequiredDuringSchedulingIgnoredDuringExecution(V1.PodAffinityTerm.Builder builderForValue)
If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
public V1.PodAntiAffinity.Builder addRequiredDuringSchedulingIgnoredDuringExecution(int index, V1.PodAffinityTerm.Builder builderForValue)
If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
public V1.PodAntiAffinity.Builder addAllRequiredDuringSchedulingIgnoredDuringExecution(Iterable<? extends V1.PodAffinityTerm> values)
If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
public V1.PodAntiAffinity.Builder clearRequiredDuringSchedulingIgnoredDuringExecution()
If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
public V1.PodAntiAffinity.Builder removeRequiredDuringSchedulingIgnoredDuringExecution(int index)
If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
public V1.PodAffinityTerm.Builder getRequiredDuringSchedulingIgnoredDuringExecutionBuilder(int index)
If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
public V1.PodAffinityTermOrBuilder getRequiredDuringSchedulingIgnoredDuringExecutionOrBuilder(int index)
If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
getRequiredDuringSchedulingIgnoredDuringExecutionOrBuilder in interface V1.PodAntiAffinityOrBuilderpublic List<? extends V1.PodAffinityTermOrBuilder> getRequiredDuringSchedulingIgnoredDuringExecutionOrBuilderList()
If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
getRequiredDuringSchedulingIgnoredDuringExecutionOrBuilderList in interface V1.PodAntiAffinityOrBuilderpublic V1.PodAffinityTerm.Builder addRequiredDuringSchedulingIgnoredDuringExecutionBuilder()
If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
public V1.PodAffinityTerm.Builder addRequiredDuringSchedulingIgnoredDuringExecutionBuilder(int index)
If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
public List<V1.PodAffinityTerm.Builder> getRequiredDuringSchedulingIgnoredDuringExecutionBuilderList()
If the anti-affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node. If the anti-affinity requirements specified by this field cease to be met at some point during pod execution (e.g. due to a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
public List<V1.WeightedPodAffinityTerm> getPreferredDuringSchedulingIgnoredDuringExecutionList()
The scheduler will prefer to schedule pods to nodes that satisfy the anti-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 anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
getPreferredDuringSchedulingIgnoredDuringExecutionList in interface V1.PodAntiAffinityOrBuilderpublic int getPreferredDuringSchedulingIgnoredDuringExecutionCount()
The scheduler will prefer to schedule pods to nodes that satisfy the anti-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 anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
getPreferredDuringSchedulingIgnoredDuringExecutionCount in interface V1.PodAntiAffinityOrBuilderpublic V1.WeightedPodAffinityTerm getPreferredDuringSchedulingIgnoredDuringExecution(int index)
The scheduler will prefer to schedule pods to nodes that satisfy the anti-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 anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
getPreferredDuringSchedulingIgnoredDuringExecution in interface V1.PodAntiAffinityOrBuilderpublic V1.PodAntiAffinity.Builder setPreferredDuringSchedulingIgnoredDuringExecution(int index, V1.WeightedPodAffinityTerm value)
The scheduler will prefer to schedule pods to nodes that satisfy the anti-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 anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
public V1.PodAntiAffinity.Builder setPreferredDuringSchedulingIgnoredDuringExecution(int index, V1.WeightedPodAffinityTerm.Builder builderForValue)
The scheduler will prefer to schedule pods to nodes that satisfy the anti-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 anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
public V1.PodAntiAffinity.Builder addPreferredDuringSchedulingIgnoredDuringExecution(V1.WeightedPodAffinityTerm value)
The scheduler will prefer to schedule pods to nodes that satisfy the anti-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 anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
public V1.PodAntiAffinity.Builder addPreferredDuringSchedulingIgnoredDuringExecution(int index, V1.WeightedPodAffinityTerm value)
The scheduler will prefer to schedule pods to nodes that satisfy the anti-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 anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
public V1.PodAntiAffinity.Builder addPreferredDuringSchedulingIgnoredDuringExecution(V1.WeightedPodAffinityTerm.Builder builderForValue)
The scheduler will prefer to schedule pods to nodes that satisfy the anti-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 anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
public V1.PodAntiAffinity.Builder addPreferredDuringSchedulingIgnoredDuringExecution(int index, V1.WeightedPodAffinityTerm.Builder builderForValue)
The scheduler will prefer to schedule pods to nodes that satisfy the anti-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 anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
public V1.PodAntiAffinity.Builder addAllPreferredDuringSchedulingIgnoredDuringExecution(Iterable<? extends V1.WeightedPodAffinityTerm> values)
The scheduler will prefer to schedule pods to nodes that satisfy the anti-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 anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
public V1.PodAntiAffinity.Builder clearPreferredDuringSchedulingIgnoredDuringExecution()
The scheduler will prefer to schedule pods to nodes that satisfy the anti-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 anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
public V1.PodAntiAffinity.Builder removePreferredDuringSchedulingIgnoredDuringExecution(int index)
The scheduler will prefer to schedule pods to nodes that satisfy the anti-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 anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
public V1.WeightedPodAffinityTerm.Builder getPreferredDuringSchedulingIgnoredDuringExecutionBuilder(int index)
The scheduler will prefer to schedule pods to nodes that satisfy the anti-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 anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
public V1.WeightedPodAffinityTermOrBuilder getPreferredDuringSchedulingIgnoredDuringExecutionOrBuilder(int index)
The scheduler will prefer to schedule pods to nodes that satisfy the anti-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 anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
getPreferredDuringSchedulingIgnoredDuringExecutionOrBuilder in interface V1.PodAntiAffinityOrBuilderpublic List<? extends V1.WeightedPodAffinityTermOrBuilder> getPreferredDuringSchedulingIgnoredDuringExecutionOrBuilderList()
The scheduler will prefer to schedule pods to nodes that satisfy the anti-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 anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
getPreferredDuringSchedulingIgnoredDuringExecutionOrBuilderList in interface V1.PodAntiAffinityOrBuilderpublic V1.WeightedPodAffinityTerm.Builder addPreferredDuringSchedulingIgnoredDuringExecutionBuilder()
The scheduler will prefer to schedule pods to nodes that satisfy the anti-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 anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
public V1.WeightedPodAffinityTerm.Builder addPreferredDuringSchedulingIgnoredDuringExecutionBuilder(int index)
The scheduler will prefer to schedule pods to nodes that satisfy the anti-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 anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
public List<V1.WeightedPodAffinityTerm.Builder> getPreferredDuringSchedulingIgnoredDuringExecutionBuilderList()
The scheduler will prefer to schedule pods to nodes that satisfy the anti-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 anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
public final V1.PodAntiAffinity.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodAntiAffinity.Builder>public final V1.PodAntiAffinity.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodAntiAffinity.Builder>Copyright © 2023. All rights reserved.