Package-level declarations

Types

Link copied to clipboard
data class Overhead(val podFixed: Map<String, String>? = null)

Overhead structure represents the resource overhead associated with running a pod.

Link copied to clipboard
data class OverheadPatch(val podFixed: Map<String, String>? = null)

Overhead structure represents the resource overhead associated with running a pod.

Link copied to clipboard
data class RuntimeClass(val apiVersion: String? = null, val kind: String? = null, val metadata: ObjectMeta? = null, val spec: RuntimeClassSpec)

RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md

Link copied to clipboard
data class RuntimeClassSpec(val overhead: Overhead? = null, val runtimeHandler: String, val scheduling: Scheduling? = null)

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.

Link copied to clipboard
data class RuntimeClassSpecPatch(val overhead: OverheadPatch? = null, val runtimeHandler: String? = null, val scheduling: SchedulingPatch? = null)

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.

Link copied to clipboard
data class Scheduling(val nodeSelector: Map<String, String>? = null, val tolerations: List<Toleration>? = null)

Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.

Link copied to clipboard
data class SchedulingPatch(val nodeSelector: Map<String, String>? = null, val tolerations: List<TolerationPatch>? = null)

Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.