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
Members list
Value members
Concrete methods
if nodeAffinity has a value, transforms to the result of function
if podAffinity has a value, transforms to the result of function
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 podAffinity set to new value
Returns a new data with podAntiAffinity set to new value
In this article