PodAffinityTerm

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 matches that of any node on which a pod of the set of pods is running

Source:
PodAffinityTerm.scala
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

Appends new values to namespaces

Appends new values to namespaces

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

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

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

Source:
PodAffinityTerm.scala

transforms topologyKey to result of function

transforms topologyKey to result of function

Source:
PodAffinityTerm.scala

Returns a new data with labelSelector set to new value

Returns a new data with labelSelector set to new value

Source:
PodAffinityTerm.scala

Returns a new data with namespaceSelector set to new value

Returns a new data with namespaceSelector set to new value

Source:
PodAffinityTerm.scala

Returns a new data with namespaces set to new value

Returns a new data with namespaces set to new value

Source:
PodAffinityTerm.scala

Returns a new data with topologyKey set to new value

Returns a new data with topologyKey set to new value

Source:
PodAffinityTerm.scala

Inherited methods

Inherited from:
Product