Affinity

io.k8s.api.core.v1.Affinity
See theAffinity companion object
final case class Affinity(nodeAffinity: Option[NodeAffinity], podAffinity: Option[PodAffinity], podAntiAffinity: Option[PodAntiAffinity])

Affinity is a group of affinity scheduling rules.

Attributes

Companion:
object
Source:
Affinity.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

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

Attributes

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

Attributes

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

Attributes

Source:
Affinity.scala

Returns a new data with nodeAffinity set to new value

Returns a new data with nodeAffinity set to new value

Attributes

Source:
Affinity.scala

Returns a new data with podAffinity set to new value

Returns a new data with podAffinity set to new value

Attributes

Source:
Affinity.scala

Returns a new data with podAntiAffinity set to new value

Returns a new data with podAntiAffinity set to new value

Attributes

Source:
Affinity.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product