PodAffinityTerm

io.k8s.api.core.v1.PodAffinityTerm
See thePodAffinityTerm companion object
final case class PodAffinityTerm(topologyKey: String, labelSelector: Option[LabelSelector], namespaceSelector: Option[LabelSelector], namespaces: Option[Seq[String]])

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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Appends new values to namespaces

Appends new values to namespaces

Attributes

Source
PodAffinityTerm.scala

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 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

transforms topologyKey to result of function

Attributes

Source
PodAffinityTerm.scala

Returns a new data with labelSelector set to new value

Returns a new data with labelSelector set to new value

Attributes

Source
PodAffinityTerm.scala

Returns a new data with namespaceSelector set to new value

Returns a new data with namespaceSelector set to new value

Attributes

Source
PodAffinityTerm.scala

Returns a new data with namespaces set to new value

Returns a new data with namespaces set to new value

Attributes

Source
PodAffinityTerm.scala

Returns a new data with topologyKey set to new value

Returns a new data with topologyKey set to new value

Attributes

Source
PodAffinityTerm.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product