public static interface V1.PodAffinityTermOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Meta.LabelSelector |
getLabelSelector()
A label query over a set of resources, in this case pods.
|
Meta.LabelSelectorOrBuilder |
getLabelSelectorOrBuilder()
A label query over a set of resources, in this case pods.
|
String |
getNamespaces(int index)
namespaces specifies which namespaces the labelSelector applies to (matches against);
null or empty list means "this pod's namespace"
+optional
|
com.google.protobuf.ByteString |
getNamespacesBytes(int index)
namespaces specifies which namespaces the labelSelector applies to (matches against);
null or empty list means "this pod's namespace"
+optional
|
int |
getNamespacesCount()
namespaces specifies which namespaces the labelSelector applies to (matches against);
null or empty list means "this pod's namespace"
+optional
|
List<String> |
getNamespacesList()
namespaces specifies which namespaces the labelSelector applies to (matches against);
null or empty list means "this pod's namespace"
+optional
|
String |
getTopologyKey()
This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
the labelSelector in the specified namespaces, where co-located is defined as running on a node
whose value of the label with key topologyKey matches that of any node on which any of the
selected pods is running.
|
com.google.protobuf.ByteString |
getTopologyKeyBytes()
This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
the labelSelector in the specified namespaces, where co-located is defined as running on a node
whose value of the label with key topologyKey matches that of any node on which any of the
selected pods is running.
|
boolean |
hasLabelSelector()
A label query over a set of resources, in this case pods.
|
boolean |
hasTopologyKey()
This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
the labelSelector in the specified namespaces, where co-located is defined as running on a node
whose value of the label with key topologyKey matches that of any node on which any of the
selected pods is running.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasLabelSelector()
A label query over a set of resources, in this case pods. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector labelSelector = 1;
Meta.LabelSelector getLabelSelector()
A label query over a set of resources, in this case pods. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector labelSelector = 1;
Meta.LabelSelectorOrBuilder getLabelSelectorOrBuilder()
A label query over a set of resources, in this case pods. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector labelSelector = 1;
List<String> getNamespacesList()
namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means "this pod's namespace" +optional
repeated string namespaces = 2;int getNamespacesCount()
namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means "this pod's namespace" +optional
repeated string namespaces = 2;String getNamespaces(int index)
namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means "this pod's namespace" +optional
repeated string namespaces = 2;com.google.protobuf.ByteString getNamespacesBytes(int index)
namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means "this pod's namespace" +optional
repeated string namespaces = 2;boolean hasTopologyKey()
This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.
optional string topologyKey = 3;String getTopologyKey()
This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.
optional string topologyKey = 3;com.google.protobuf.ByteString getTopologyKeyBytes()
This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.
optional string topologyKey = 3;Copyright © 2020. All rights reserved.