Defines a "io.k8s.api.node.v1beta1.RuntimeClass" API object
the scope in which to define this object
a scope-local name for the object
initialization props
The group portion of the API version (e.g. authorization.k8s.io
)
The object's API version (e.g. authorization.k8s.io/v1
)
The chart in which this object is defined.
The object kind.
Metadata associated with this API object.
The name of the API object.
If a name is specified in metadata.name
this will be the name returned.
Otherwise, a name will be generated by calling
Chart.of(this).generatedObjectName(this)
, which by default uses the
construct path to generate a DNS-compatible name for the resource.
The tree node.
Returns the apiVersion and kind for "io.k8s.api.node.v1beta1.RuntimeClass"
Create a dependency between this ApiObject and other constructs. These can be other ApiObjects, Charts, or custom.
the dependencies to add.
Applies a set of RFC-6902 JSON-Patch operations to the manifest synthesized for this API object.
The JSON-Patch operations to apply.
Renders the object to Kubernetes JSON.
Returns a string representation of this construct.
Checks if x
is a construct.
Use this method instead of instanceof
to properly detect Construct
instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the constructs
library on
disk are seen as independent, completely different libraries. As a
consequence, the class Construct
in each copy of the constructs
library
is seen as a different class, and an instance of one class will not test as
instanceof
the other class. npm install
will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the constructs
library can be accidentally installed, and instanceof
will behave
unpredictably. It is safest to avoid using instanceof
, and using
this type-testing method instead.
Any object
true if x
is an object created from a class which extends Construct
.
Renders a Kubernetes manifest for "io.k8s.api.node.v1beta1.RuntimeClass".
This can be used to inline resource manifests inside other objects (e.g. as templates).
initialization props
Returns the ApiObject
named Resource
which is a child of the given
construct. If c
is an ApiObject
, it is returned directly. Throws an
exception if the construct does not have a child named Default
or if
this child is not an ApiObject
.
The higher-level construct
Generated using TypeDoc
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
io.k8s.api.node.v1beta1.RuntimeClass