Packages

case class RuntimeClassSpec(overhead: Optional[Overhead] = Optional.Absent, runtimeHandler: String, scheduling: Optional[Scheduling] = Optional.Absent) extends Product with Serializable

RuntimeClassSpec is a specification of a RuntimeClass. It contains parameters that are required to describe the RuntimeClass to the Container Runtime Interface (CRI) implementation, as well as any other components that need to understand how the pod will be run. The RuntimeClassSpec is immutable.

runtimeHandler

RuntimeHandler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The RuntimeHandler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RuntimeClassSpec
  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 RuntimeClassSpec(overhead: Optional[Overhead] = Optional.Absent, runtimeHandler: String, scheduling: Optional[Scheduling] = Optional.Absent)

    runtimeHandler

    RuntimeHandler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The RuntimeHandler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.

Value Members

  1. def getOverhead: IO[K8sFailure, Overhead]

    Gets overhead.

    Gets overhead.

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

  2. def getRuntimeHandler: IO[K8sFailure, String]

    RuntimeHandler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class.

    RuntimeHandler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called "runc" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The RuntimeHandler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.

    This effect always succeeds, it is safe to use the field runtimeHandler directly.

  3. def getScheduling: IO[K8sFailure, Scheduling]

    Gets scheduling.

    Gets scheduling.

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

  4. val overhead: Optional[Overhead]
  5. val runtimeHandler: String
  6. val scheduling: Optional[Scheduling]