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 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://kubernetes.io/docs/concepts/containers/runtime-class/
Value parameters
- handler
-
Handler 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 Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Handler 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 Handler must be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.
Handler 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 Handler 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 handler directly.
Attributes
Gets metadata.
Gets metadata.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
Attributes
Gets overhead.
Gets overhead.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
Attributes
Gets scheduling.
Gets scheduling.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
Attributes
Inherited methods
Attach another resource as the owner of this one
Attach another resource as the owner of this one
Value parameters
- kind
-
Owner's resource kind
- ownerName
-
Owner's name
- ownerType
-
Owner's resource type metadata
- ownerUid
-
Owner's UID
Attributes
- Returns
-
Object with the attached owner described in its metadata
- Inherited from:
- K8sObjectOps
Gets the geneation of the object or 0 if it is new
Gets the metadata of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
Gets the metadata of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
Attributes
- Inherited from:
- K8sObjectOps
Gets the name of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
Gets the name of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
Attributes
- Inherited from:
- K8sObjectOps
Gets the UID of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
Gets the UID of the object and fail with com.coralogix.zio.k8s.client.UndefinedField if it is not present
Attributes
- Inherited from:
- K8sObjectOps
Verifies ownership between the resources
Verifies ownership between the resources
Type parameters
- OwnerT
-
Type of the owner resource
Value parameters
- owner
-
Possible owner of this resource
Attributes
- Returns
-
True if owner owns this resource
- Inherited from:
- K8sObjectOps
Creates a new object with its metadata modified by the given function f
Creates a new object with its metadata modified by the given function f
Value parameters
- f
-
Function to modify the object's metadata with
Attributes
- Returns
-
Object with modified metadata
- Inherited from:
- K8sObjectOps
Gets the metadata of the object
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Tries to attach another resource as the owner of this one. Can fail with com.coralogix.zio.k8s.client.UndefinedField if the owner does not have all the required metadata.
Tries to attach another resource as the owner of this one. Can fail with com.coralogix.zio.k8s.client.UndefinedField if the owner does not have all the required metadata.
Type parameters
- OwnerT
-
Type of the owner
Value parameters
- owner
-
Owner resource
Attributes
- Returns
-
Object with the attached owner described in its metadata
- Inherited from:
- K8sObjectOps