Affinity

final case class Affinity(nodeAffinity: Option[NodeAffinity], podAffinity: Option[PodAffinity], podAntiAffinity: Option[PodAntiAffinity])

Affinity is a group of affinity scheduling rules.

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

Value members

Concrete methods

if nodeAffinity has a value, transforms to the result of function

if nodeAffinity has a value, transforms to the result of function

Source:
Affinity.scala

if podAffinity has a value, transforms to the result of function

if podAffinity has a value, transforms to the result of function

Source:
Affinity.scala

if podAntiAffinity has a value, transforms to the result of function

if podAntiAffinity has a value, transforms to the result of function

Source:
Affinity.scala

Returns a new data with nodeAffinity set to new value

Returns a new data with nodeAffinity set to new value

Source:
Affinity.scala

Returns a new data with podAffinity set to new value

Returns a new data with podAffinity set to new value

Source:
Affinity.scala

Returns a new data with podAntiAffinity set to new value

Returns a new data with podAntiAffinity set to new value

Source:
Affinity.scala

Inherited methods

Inherited from:
Product