Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, 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 a pod of the set of pods is running
Attributes
- Companion
- object
- Source
- PodAffinityTerm.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Appends new values to matchLabelKeys
Appends new values to mismatchLabelKeys
Appends new values to namespaces
if labelSelector has a value, transforms to the result of function
if labelSelector has a value, transforms to the result of function
Attributes
- Source
- PodAffinityTerm.scala
if matchLabelKeys has a value, transforms to the result of function
if matchLabelKeys has a value, transforms to the result of function
Attributes
- Source
- PodAffinityTerm.scala
if mismatchLabelKeys has a value, transforms to the result of function
if mismatchLabelKeys has a value, transforms to the result of function
Attributes
- Source
- PodAffinityTerm.scala
if namespaceSelector has a value, transforms to the result of function
if namespaceSelector has a value, transforms to the result of function
Attributes
- Source
- PodAffinityTerm.scala
if namespaces has a value, transforms to the result of function
if namespaces has a value, transforms to the result of function
Attributes
- Source
- PodAffinityTerm.scala
transforms topologyKey to result of function
Returns a new data with labelSelector set to new value
Returns a new data with matchLabelKeys set to new value
Returns a new data with mismatchLabelKeys set to new value
Returns a new data with namespaceSelector set to new value
Returns a new data with namespaces set to new value
Returns a new data with topologyKey set to new value
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product