Packages

case class Affinity(nodeAffinity: Optional[NodeAffinity] = Optional.Absent, podAffinity: Optional[PodAffinity] = Optional.Absent, podAntiAffinity: Optional[PodAntiAffinity] = Optional.Absent) extends Product with Serializable

Affinity is a group of affinity scheduling rules.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Affinity
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Affinity(nodeAffinity: Optional[NodeAffinity] = Optional.Absent, podAffinity: Optional[PodAffinity] = Optional.Absent, podAntiAffinity: Optional[PodAntiAffinity] = Optional.Absent)

Value Members

  1. def getNodeAffinity: IO[K8sFailure, NodeAffinity]

    Gets nodeAffinity.

    Gets nodeAffinity.

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

  2. def getPodAffinity: IO[K8sFailure, PodAffinity]

    Gets podAffinity.

    Gets podAffinity.

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

  3. def getPodAntiAffinity: IO[K8sFailure, PodAntiAffinity]

    Gets podAntiAffinity.

    Gets podAntiAffinity.

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

  4. val nodeAffinity: Optional[NodeAffinity]
  5. val podAffinity: Optional[PodAffinity]
  6. val podAntiAffinity: Optional[PodAntiAffinity]