case class RuntimeClass(metadata: Optional[ObjectMeta] = Optional.Absent, spec: RuntimeClassSpec) extends Product with Serializable
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/585-runtime-class
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RuntimeClass
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new RuntimeClass(metadata: Optional[ObjectMeta] = Optional.Absent, spec: RuntimeClassSpec)
Value Members
-
def
getMetadata: IO[K8sFailure, ObjectMeta]
Gets metadata.
Gets metadata.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getSpec: IO[K8sFailure, RuntimeClassSpec]
Gets spec.
Gets spec.
This effect always succeeds, it is safe to use the field spec directly.
- val metadata: Optional[ObjectMeta]
- val spec: RuntimeClassSpec