Affinity

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

Affinity is a group of affinity scheduling rules.

Affinity is a group of affinity scheduling rules.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

Gets nodeAffinity.

Gets nodeAffinity.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets podAffinity.

Gets podAffinity.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets podAntiAffinity.

Gets podAntiAffinity.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product