class K8S::Api::Node::V1alpha1::RuntimeClassSpec
- K8S::Api::Node::V1alpha1::RuntimeClassSpec
- Reference
- Object
Overview
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.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.18/api/node/v1alpha1/runtime_class_spec.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, runtime_handler : String, overhead : Api::Node::V1alpha1::Overhead? = nil, scheduling : Api::Node::V1alpha1::Scheduling? = nil)
Instance Method Summary
- #overhead : Api::Node::V1alpha1::Overhead?
- #overhead=(overhead : Api::Node::V1alpha1::Overhead?)
- #runtime_handler : String
- #runtime_handler=(runtime_handler : String)
- #scheduling : Api::Node::V1alpha1::Scheduling?
- #scheduling=(scheduling : Api::Node::V1alpha1::Scheduling?)
Constructor Detail
def self.new(*, runtime_handler : String, overhead : Api::Node::V1alpha1::Overhead? = nil, scheduling : Api::Node::V1alpha1::Scheduling? = nil)
#