Packages

case class Scheduling(nodeSelector: Optional[Map[String, String]] = Optional.Absent, tolerations: Optional[Vector[Toleration]] = Optional.Absent) extends Product with Serializable

Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.

nodeSelector

nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission.

tolerations

tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Scheduling
  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 Scheduling(nodeSelector: Optional[Map[String, String]] = Optional.Absent, tolerations: Optional[Vector[Toleration]] = Optional.Absent)

    nodeSelector

    nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission.

    tolerations

    tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.

Value Members

  1. def getNodeSelector: IO[K8sFailure, Map[String, String]]

    nodeSelector lists labels that must be present on nodes that support this RuntimeClass.

    nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission.

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

  2. def getTolerations: IO[K8sFailure, Vector[Toleration]]

    tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.

    tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.

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

  3. val nodeSelector: Optional[Map[String, String]]
  4. val tolerations: Optional[Vector[Toleration]]